From bd28d7439ecdce1b7d42814fefd1e0ac13f0108d Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Thu, 15 Aug 2024 18:54:09 +0200 Subject: [PATCH] chore: Enable WebAssembly SIMD support in common mozconfig and disable unnecessary features in Linux mozconfig --- configs/common/mozconfig | 6 ++++-- configs/linux/mozconfig | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/configs/common/mozconfig b/configs/common/mozconfig index 4e182d1a9..44fde68ad 100644 --- a/configs/common/mozconfig +++ b/configs/common/mozconfig @@ -34,6 +34,8 @@ if test "$ZEN_RELEASE"; then ac_add_options --disable-jprof ac_add_options --enable-rust-simd + ac_add_options --enable-wasm-simd + mk_add_options MOZ_PARALLEL_COMPILE=1 ac_add_options --enable-proxy-bypass-protection @@ -43,6 +45,8 @@ if test "$ZEN_RELEASE"; then ac_add_options --disable-crashreporter ac_add_options --disable-geckodriver ac_add_options --disable-rust-tests + + # Done by vlad, if something fails, it's his fault ac_add_options --disable-default-browser-agent if ! test "$ZEN_DISABLE_LTO"; then @@ -52,8 +56,6 @@ if test "$ZEN_RELEASE"; then fi ac_add_options --enable-jemalloc - #ac_add_options --with-pthreads - ac_add_options --disable-trace-malloc mk_add_options MOZILLA_OFFICIAL=1 MOZILLA_OFFICIAL=1 diff --git a/configs/linux/mozconfig b/configs/linux/mozconfig index 5a2b75abc..bba6889f1 100644 --- a/configs/linux/mozconfig +++ b/configs/linux/mozconfig @@ -13,6 +13,9 @@ if test "$ZEN_RELEASE"; then ac_add_options --enable-linker=lld ac_add_options --disable-elf-hack + ac_add_options --disable-gpsd + ac_add_options --disable-necko-wifi + ac_add_options --enable-install-strip ac_add_options --enable-strip export STRIP_FLAGS="--strip-debug --strip-unneeded"