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}
export LLVM_PROFDATA="llvm-profdata"
#export AR="llvm-ar"
#export NM="llvm-nm"
export AR="llvm-ar"
export NM="llvm-nm"
export RANLIB="llvm-ranlib"
echo "ac_add_options --enable-linker=lld" >> .mozconfig
%else
export CC=gcc
export CXX=g++
echo "ac_add_options --enable-linker=lld" >> .mozconfig
%endif
%if 0%{?build_with_pgo}
echo "ac_add_options MOZ_PGO=1" >> .mozconfig