mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 00:25:27 +00:00
2bf82236cc
'make check' is somewhat special in that we want to trigger testers before it finishes. Since moving sendchange into mach is difficult and 'make check' may be going away in the future anyway, just pull it out for now. Also remove the MOZ_AUTOMATION_*_SENDCHANGE flags since we aren't using them.
29 lines
896 B
Plaintext
29 lines
896 B
Plaintext
MOZ_AUTOMATION_L10N_CHECK=0
|
|
|
|
. "$topsrcdir/build/mozconfig.common"
|
|
|
|
# Use Clang as specified in manifest
|
|
export CC="$topsrcdir/clang/bin/clang -fgnu89-inline"
|
|
export CXX="$topsrcdir/clang/bin/clang++"
|
|
export LLVM_SYMBOLIZER="$topsrcdir/clang/bin/llvm-symbolizer"
|
|
|
|
# Mandatory flags for ASan
|
|
export ASANFLAGS="-fsanitize=address -Dxmalloc=myxmalloc -fPIC"
|
|
export CFLAGS="$ASANFLAGS"
|
|
export CXXFLAGS="$ASANFLAGS"
|
|
export LDFLAGS="-fsanitize=address"
|
|
|
|
# Enable ASan specific code and build workarounds
|
|
ac_add_options --enable-address-sanitizer
|
|
|
|
# Mandatory options required for ASan builds (both on Linux and Mac)
|
|
export MOZ_DEBUG_SYMBOLS=1
|
|
ac_add_options --enable-debug-symbols
|
|
ac_add_options --disable-install-strip
|
|
ac_add_options --disable-jemalloc
|
|
ac_add_options --disable-crashreporter
|
|
ac_add_options --disable-elf-hack
|
|
|
|
# Avoid dependency on libstdc++ 4.7
|
|
ac_add_options --enable-stdcxx-compat
|