2012-05-16 02:24:14 +04:00
|
|
|
# Use at least -O1 for optimization to avoid stack space
|
|
|
|
# exhaustions caused by Clang function inlining.
|
|
|
|
ac_add_options --enable-debug
|
|
|
|
ac_add_options --enable-optimize="-O1"
|
|
|
|
|
2017-08-08 00:50:40 +03:00
|
|
|
. $topsrcdir/build/mozconfig.stylo
|
|
|
|
|
2012-05-16 02:24:14 +04:00
|
|
|
# ASan specific options on Linux
|
|
|
|
ac_add_options --enable-valgrind
|
|
|
|
|
|
|
|
. $topsrcdir/build/unix/mozconfig.asan
|
2018-02-09 01:16:41 +03:00
|
|
|
ac_add_options --disable-elf-hack
|
2012-05-16 02:24:14 +04:00
|
|
|
|
|
|
|
# Package js shell.
|
|
|
|
export MOZ_PACKAGE_JSSHELL=1
|
2012-09-05 23:10:21 +04:00
|
|
|
|
2013-02-06 02:01:21 +04:00
|
|
|
# Need this to prevent name conflicts with the normal nightly build packages
|
|
|
|
export MOZ_PKG_SPECIAL=asan
|
|
|
|
|
2012-09-05 23:10:21 +04:00
|
|
|
. "$topsrcdir/build/mozconfig.common.override"
|