mozconfig-linux-arm64 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. . $topsrcdir/browser/config/mozconfig
  2. mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
  3. mk_add_options MOZ_APP_DISPLAYNAME="Tor Browser"
  4. mk_add_options MOZILLA_OFFICIAL=1
  5. # We want to build with clang now and point to the GCC toolchain until #29041 is
  6. # fixed. We explicitly need to define the host compiler as well as for some
  7. # reason the gcc-toolchain argument does not get passed along otherwise.
  8. CC="clang --gcc-toolchain=/var/tmp/dist/gcc"
  9. CXX="clang++ --gcc-toolchain=/var/tmp/dist/gcc"
  10. HOST_CC=$CC
  11. HOST_CXX=$CXX
  12. export BINDGEN_CFLAGS='--gcc-toolchain=/var/tmp/dist/gcc'
  13. # for machines with 4 GB or less ram, otherwise the build is a swapping frenzy
  14. mk_add_options MOZ_MAKE_FLAGS="-j2"
  15. ac_add_options --host=aarch64-unknown-linux-gnu
  16. ac_add_options --target=aarch64-unknown-linux-gnu
  17. ac_add_options --enable-optimize
  18. ac_add_options --enable-rust-simd
  19. ac_add_options --enable-official-branding
  20. # Let's support GTK3 for ESR60
  21. ac_add_options --enable-default-toolkit=cairo-gtk3
  22. ac_add_options --enable-tor-browser-update
  23. ac_add_options --enable-verify-mar
  24. ac_add_options --disable-debug-symbols
  25. ac_add_options --disable-strip
  26. ac_add_options --disable-install-strip
  27. ac_add_options --disable-tests
  28. ac_add_options --disable-debug
  29. ac_add_options --disable-crashreporter
  30. ac_add_options --disable-webrtc
  31. ac_add_options --disable-parental-controls
  32. # Let's make sure no preference is enabling either Adobe's or Google's CDM.
  33. # ac_add_options --disable-eme
  34. ac_add_options --enable-proxy-bypass-protection
  35. # Disable telemetry
  36. ac_add_options MOZ_TELEMETRY_REPORTING=
  37. #ac_add_options --disable-ctypes
  38. #ac_add_options --disable-elf-hack
  39. #ac_add_options --disable-stylo