[tbb-commits] [tor-browser/tor-browser-24.6.0esr-4.x-1] fixup! Tor Browser's official .mozconfigs.
mikeperry at torproject.org
mikeperry at torproject.org
Wed Jun 18 13:43:14 UTC 2014
commit d15bdd2f437a8f6d8c83dbd20a81af01311cbf34
Author: Mike Perry <mikeperry-git at torproject.org>
Date: Wed Jun 18 06:41:00 2014 -0700
fixup! Tor Browser's official .mozconfigs.
Add .mozconfig-asan for #10599.
---
.mozconfig-asan | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/.mozconfig-asan b/.mozconfig-asan
new file mode 100644
index 0000000..32e3096
--- /dev/null
+++ b/.mozconfig-asan
@@ -0,0 +1,33 @@
+. $topsrcdir/browser/config/mozconfig
+
+export CFLAGS="-fsanitize=address -Dxmalloc=myxmalloc -fsanitize=undefined"
+# When compiling with GCC 4.9.0 we need the libstdc++ either shipped with the
+# bundles or link statically against it. We chose the latter as a) the
+# resulting size of the bundle is smaller and b) there would probably occur
+# issues with our Gitian setup as we compile GCC without LIBFAKETIME being set
+# due to bug 11459.
+export CXXFLAGS="-fsanitize=address -Dxmalloc=myxmalloc -fsanitize=undefined -static-libstdc++"
+export LDFLAGS="-fsanitize=address -fsanitize=undefined"
+
+mk_add_option sMOZ_OBJDIR=@TOPSRCDIR@/obj- at CONFIG_GUESS@
+mk_add_options MOZ_APP_DISPLAYNAME=TorBrowser
+mk_add_options MOZ_MAKE_FLAGS="-j4"
+mk_add_options MOZILLA_OFFICIAL=1
+mk_add_options BUILD_OFFICIAL=1
+
+ac_add_options --enable-address-sanitizer
+ac_add_options --disable-jemalloc
+ac_add_options --disable-elf-hack
+
+ac_add_options --enable-optimize
+#ac_add_options --disable-optimize
+ac_add_options --enable-official-branding
+ac_add_options --disable-strip
+ac_add_options --disable-install-strip
+ac_add_options --disable-tests
+ac_add_options --disable-debug
+ac_add_options --disable-maintenance-service
+ac_add_options --disable-updater
+ac_add_options --disable-crashreporter
+ac_add_options --disable-webrtc
+#ac_add_options --disable-ctypes
More information about the tbb-commits
mailing list