1 ac_add_options --enable-debug
3 . $topsrcdir/build/unix/mozconfig.linux32
5 export LLVM_SYMBOLIZER="$MOZ_FETCHES_DIR/llvm-symbolizer/bin/llvm-symbolizer"
8 export MOZ_PACKAGE_JSSHELL=1
10 ac_add_options --enable-fuzzing
11 unset MOZ_STDCXX_COMPAT
13 # gold or lld is required for libFuzzer to work properly
14 ac_add_options --enable-linker=lld
16 # Even in fuzzing builds without sanitizers, the UBSan runtime is pulled
17 # in as a dependency to allow libFuzzer to have rudimentary stacks.
18 # Hence we need to disable jemalloc until bug 1435148 is fully resolved.
19 ac_add_options --disable-jemalloc
21 # Also, for consistency we disable the crash reporter and solely rely
22 # on libFuzzer to provide stacks both in the browser fuzzing case as
23 # well as for libFuzzer targets. See also bug 1649062.
24 ac_add_options --disable-crashreporter
25 ac_add_options --disable-install-strip
26 ac_add_options --enable-optimize="-O2 -gline-tables-only"
28 # Need this to prevent name conflicts with the normal nightly build packages
29 export MOZ_PKG_SPECIAL=fuzzing
31 . "$topsrcdir/build/mozconfig.common.override"