gecko-dev/build/unix/mozconfig.lto
Mike Hommey b1ce4dcf63 Bug 1478923 - Remove LLVM_SYMBOLIZER from mozconfig.lto. r=froydnj
This was cargo-culted from the asan/tsan mozconfigs, but is not necessary
for builds without sanitizers.

--HG--
extra : rebase_source : 41bad4761f424410cb7a099ecaecce8a86becf59
2018-07-27 15:46:51 +09:00

25 lines
657 B
Plaintext

MOZ_AUTOMATION_L10N_CHECK=0
. "$topsrcdir/build/mozconfig.common"
# Use Clang as specified in manifest
export AR="$topsrcdir/clang/bin/llvm-ar"
export NM="$topsrcdir/clang/bin/llvm-nm"
export RANLIB="$topsrcdir/clang/bin/llvm-ranlib"
export CC="$topsrcdir/clang/bin/clang"
export CXX="$topsrcdir/clang/bin/clang++"
# Use a newer binutils, from the tooltool gcc package, if it's there
if [ -e "$topsrcdir/gcc/bin/ld" ]; then
export CC="$CC -B $topsrcdir/gcc/bin"
export CXX="$CXX -B $topsrcdir/gcc/bin"
fi
# Until Bug 1423822 is resolved
ac_add_options --disable-elf-hack
ac_add_options --enable-lto
. "$topsrcdir/build/unix/mozconfig.stdcxx"