chore: Update mozconfig to enable LTO and remove unused options

This commit is contained in:
Mauro Balades
2024-07-15 03:19:11 +02:00
parent fe74d96914
commit f2ace58825
4 changed files with 5 additions and 6 deletions

View File

@@ -22,10 +22,6 @@ export MOZ_STUB_INSTALLER=1
export WINEDEBUG=-all
export WINE="$TOOLS/wine/bin/wine64"
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"
ac_add_options --enable-default-browser-agent

View File

@@ -41,6 +41,7 @@ if test "$ZEN_RELEASE"; then
ac_add_options --with-ccache=sccache
ac_add_options --disable-debug
ac_add_options --disable-debug-js-modules
ac_add_options --disable-debug-symbols
ac_add_options --disable-crashreporter
ac_add_options --disable-dmd
@@ -58,7 +59,6 @@ if test "$ZEN_RELEASE"; then
mk_add_options MOZ_OPTIMIZE=1
MOZ_OPTIMIZE=1
export MOZ_OPTIMIZE=1
export STRIP_FLAGS="--strip-debug --strip-unneeded"
export OPT_LEVEL="3"
ac_add_options OPT_LEVEL="3"

View File

@@ -5,6 +5,7 @@ if ! test "$ZEN_CROSS_COMPILING"; then
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 --disable-elf-hack
ac_add_options RUSTC_OPT_LEVEL=3
export MOZILLA_OFFICIAL=1
export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=x86-64"
@@ -20,7 +21,7 @@ if ! test "$ZEN_CROSS_COMPILING"; then
ac_add_options --enable-linker=lld
ac_add_options --enable-strip
export STRIP_FLAGS="--strip-debug --strip-unneeded"
fi
# Disable telemetry and tracking

View File

@@ -141,6 +141,8 @@ pref('dom.enable_web_task_scheduling', true);
pref('layout.css.has-selector.enabled', true);
pref('dom.security.sanitizer.enabled', true);
pref('layers.acceleration.force-enabled', true);
// Pref to enable the new profiles (TODO: Check this out!)
//pref("browser.profiles.enabled", true);