зеркало из https://github.com/mozilla/gecko-dev.git
21 строка
676 B
Plaintext
21 строка
676 B
Plaintext
|
# Use Clang r155417
|
||
|
export CC="/tools/clang-3.0/bin/clang -fgnu89-inline"
|
||
|
export CXX="/tools/clang-3.0/bin/clang++"
|
||
|
|
||
|
# Mandatory flags for ASan
|
||
|
export ASANFLAGS="-faddress-sanitizer -Dxmalloc=myxmalloc -fPIC"
|
||
|
export CFLAGS="$ASANFLAGS"
|
||
|
export CXXFLAGS="$ASANFLAGS"
|
||
|
export LDFLAGS="-faddress-sanitizer"
|
||
|
|
||
|
# 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
|