summaryrefslogtreecommitdiffstats
path: root/comm/mail/config/mozconfigs/linux64/nightly-asan-reporter
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mail/config/mozconfigs/linux64/nightly-asan-reporter')
-rw-r--r--comm/mail/config/mozconfigs/linux64/nightly-asan-reporter18
1 files changed, 18 insertions, 0 deletions
diff --git a/comm/mail/config/mozconfigs/linux64/nightly-asan-reporter b/comm/mail/config/mozconfigs/linux64/nightly-asan-reporter
new file mode 100644
index 0000000000..c38fa607a4
--- /dev/null
+++ b/comm/mail/config/mozconfigs/linux64/nightly-asan-reporter
@@ -0,0 +1,18 @@
+. "$topsrcdir/comm/mail/config/mozconfigs/linux64/common-linux64"
+
+# We still need to build with debug symbols
+ac_add_options --disable-debug
+ac_add_options --enable-optimize="-O2 -gline-tables-only"
+
+# ASan specific options on Linux
+ac_add_options --enable-valgrind
+
+. $topsrcdir/build/unix/mozconfig.asan
+ac_add_options --disable-elf-hack
+
+ac_add_options --enable-address-sanitizer-reporter
+
+# Need this to prevent name conflicts with the normal nightly build packages
+export MOZ_PKG_SPECIAL=asan-reporter
+
+. "$topsrcdir/build/mozconfig.common.override"