mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
b1ce4dcf63
This was cargo-culted from the asan/tsan mozconfigs, but is not necessary for builds without sanitizers. --HG-- extra : rebase_source : 41bad4761f424410cb7a099ecaecce8a86becf59
25 lines
657 B
Plaintext
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"
|