mozconfig-linux-x86_64-asan 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. . $topsrcdir/browser/config/mozconfig
  2. export CFLAGS="-fsanitize=address -Dxmalloc=myxmalloc"
  3. export CXXFLAGS="-fsanitize=address -Dxmalloc=myxmalloc"
  4. # We need to add -ldl explicitely due to bug 1213698
  5. export LDFLAGS="-fsanitize=address -ldl"
  6. # Define HOST_CFLAGS, etc. to avoid compiling programs such as mbsdiff
  7. # (which is part of mar-tools and is not distributed to end-users) with
  8. # ASan. See bug 17858.
  9. export HOST_CFLAGS=""
  10. export HOST_CXXFLAGS=""
  11. export HOST_LDFLAGS="-ldl"
  12. mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
  13. mk_add_options MOZ_APP_DISPLAYNAME="Tor Browser"
  14. export MOZILLA_OFFICIAL=1
  15. export BINDGEN_CFLAGS='--gcc-toolchain=/var/tmp/dist/gcc'
  16. ac_add_options --enable-address-sanitizer
  17. ac_add_options --disable-jemalloc
  18. ac_add_options --disable-elf-hack
  19. ac_add_options --with-clang-path=/var/tmp/dist/clang/bin/clang
  20. ac_add_options --enable-optimize
  21. ac_add_options --enable-rust-simd
  22. ac_add_options --enable-official-branding
  23. # Let's support GTK3 for ESR60
  24. ac_add_options --enable-default-toolkit=cairo-gtk3
  25. ac_add_options --enable-tor-browser-update
  26. ac_add_options --enable-verify-mar
  27. ac_add_options --disable-strip
  28. ac_add_options --disable-install-strip
  29. ac_add_options --disable-tests
  30. ac_add_options --disable-debug
  31. ac_add_options --disable-crashreporter
  32. ac_add_options --disable-webrtc
  33. ac_add_options --disable-parental-controls
  34. ac_add_options --disable-eme
  35. ac_add_options --enable-proxy-bypass-protection
  36. # Disable telemetry
  37. ac_add_options MOZ_TELEMETRY_REPORTING=