[packages/firefox] pass CC/CXX explicitly

atler atler at pld-linux.org
Sun Aug 13 00:20:45 CEST 2017


commit b3d6960075b5481d13cbe68b26e573abf2634d74
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Aug 13 00:18:42 2017 +0200

    pass CC/CXX explicitly

 firefox.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/firefox.spec b/firefox.spec
index 8eabb54..09c96cf 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -213,6 +213,8 @@ cp -p %{_datadir}/automake/config.* build/autoconf
 cat << 'EOF' > .mozconfig
 . $topsrcdir/browser/config/mozconfig
 
+export CC="%{__cc}"
+export CXX="%{__cxx}"
 export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
 export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/firefox.git/commitdiff/b3d6960075b5481d13cbe68b26e573abf2634d74



More information about the pld-cvs-commit mailing list