mirror of
https://github.com/zen-browser/desktop.git
synced 2025-12-27 08:38:54 +00:00
24 lines
660 B
Plaintext
24 lines
660 B
Plaintext
|
|
if test "$ZEN_RELEASE"; then
|
|
ac_add_options --enable-lto=full
|
|
ac_add_options --enable-optimize="-march=x86-64 -msse3 -mtune=haswell -O3 -w"
|
|
ac_add_options --enable-release
|
|
ac_add_options --enable-rust-simd
|
|
ac_add_options RUSTC_OPT_LEVEL=3
|
|
export MOZILLA_OFFICIAL=1
|
|
export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=x86-64"
|
|
fi
|
|
|
|
# not when cross compiling
|
|
if ! test "$ZEN_CROSS_COMPILING"; then
|
|
ac_add_options --enable-linker=lld
|
|
fi
|
|
|
|
ac_add_options --enable-pulseaudio
|
|
ac_add_options --enable-strip
|
|
ac_add_options --enable-alsa
|
|
|
|
# Disable telemetry and tracking
|
|
mk_add_options MOZ_TELEMETRY_REPORTING=
|
|
mk_add_options MOZ_DATA_REPORTING=
|