Build tweaks

This commit is contained in:
Martin Stransky 2018-12-10 15:32:54 +01:00
parent 48eb9829db
commit a6458b9b77

View File

@ -569,14 +569,13 @@ export LIBDIR='%{_libdir}'
%if 0%{?build_with_clang} %if 0%{?build_with_clang}
export LLVM_PROFDATA="llvm-profdata" export LLVM_PROFDATA="llvm-profdata"
#export AR="llvm-ar" export AR="llvm-ar"
#export NM="llvm-nm" export NM="llvm-nm"
export RANLIB="llvm-ranlib" export RANLIB="llvm-ranlib"
echo "ac_add_options --enable-linker=lld" >> .mozconfig echo "ac_add_options --enable-linker=lld" >> .mozconfig
%else %else
export CC=gcc export CC=gcc
export CXX=g++ export CXX=g++
echo "ac_add_options --enable-linker=lld" >> .mozconfig
%endif %endif
%if 0%{?build_with_pgo} %if 0%{?build_with_pgo}
echo "ac_add_options MOZ_PGO=1" >> .mozconfig echo "ac_add_options MOZ_PGO=1" >> .mozconfig