12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- . $topsrcdir/browser/config/mozconfig
- mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
- mk_add_options MOZ_APP_DISPLAYNAME="Tor Browser"
- export MOZILLA_OFFICIAL=1
- # We want to build with clang now and point to the GCC toolchain until #29041 is
- # fixed. We explicitly need to define the host compiler as well as for some
- # reason the gcc-toolchain argument does not get passed along otherwise.
- CC="clang --gcc-toolchain=/var/tmp/dist/gcc"
- CXX="clang++ --gcc-toolchain=/var/tmp/dist/gcc"
- HOST_CC=$CC
- HOST_CXX=$CXX
- export BINDGEN_CFLAGS='--gcc-toolchain=/var/tmp/dist/gcc'
- ac_add_options --target=i686-linux-gnu
- 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-tests
- ac_add_options --disable-debug
- ac_add_options --disable-crashreporter
- ac_add_options --disable-webrtc
- ac_add_options --disable-parental-controls
- # Let's make sure no preference is enabling either Adobe's or Google's CDM.
- ac_add_options --disable-eme
- ac_add_options --enable-proxy-bypass-protection
- # Bug 31448: ld.gold fails if we don't disable debug-symbols
- ac_add_options --disable-debug-symbols
- # Disable telemetry
- ac_add_options MOZ_TELEMETRY_REPORTING=
|