1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- . $topsrcdir/browser/config/mozconfig
- export CFLAGS="-fsanitize=address -Dxmalloc=myxmalloc"
- export CXXFLAGS="-fsanitize=address -Dxmalloc=myxmalloc"
- # We need to add -ldl explicitely due to bug 1213698
- export LDFLAGS="-fsanitize=address -ldl"
- # Define HOST_CFLAGS, etc. to avoid compiling programs such as mbsdiff
- # (which is part of mar-tools and is not distributed to end-users) with
- # ASan. See bug 17858.
- export HOST_CFLAGS=""
- export HOST_CXXFLAGS=""
- export HOST_LDFLAGS="-ldl"
- mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
- mk_add_options MOZ_APP_DISPLAYNAME="Tor Browser"
- export MOZILLA_OFFICIAL=1
- export BINDGEN_CFLAGS='--gcc-toolchain=/var/tmp/dist/gcc'
- ac_add_options --enable-address-sanitizer
- ac_add_options --disable-jemalloc
- ac_add_options --disable-elf-hack
- ac_add_options --with-clang-path=/var/tmp/dist/clang/bin/clang
- ac_add_options --enable-optimize
- ac_add_options --enable-rust-simd
- ac_add_options --enable-official-branding
- # Let's support GTK3 for ESR60
- ac_add_options --enable-default-toolkit=cairo-gtk3
- ac_add_options --enable-tor-browser-update
- ac_add_options --enable-verify-mar
- 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-crashreporter
- ac_add_options --disable-webrtc
- ac_add_options --disable-parental-controls
- ac_add_options --disable-eme
- ac_add_options --enable-proxy-bypass-protection
- # Disable telemetry
- ac_add_options MOZ_TELEMETRY_REPORTING=
|