From ae746fa0af14753f2017634f1b1a7c0ef264e000 Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Sat, 20 Jul 2024 15:32:00 +0200 Subject: [PATCH] chore: Update mozconfig to enable jemalloc and linker lld for non-cross-compiling builds --- configs/common/mozconfig | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/configs/common/mozconfig b/configs/common/mozconfig index 1bc996afd..b57a383f3 100644 --- a/configs/common/mozconfig +++ b/configs/common/mozconfig @@ -48,11 +48,7 @@ if test "$ZEN_RELEASE"; then mk_add_options MOZ_DATA_REPORTING=0 mk_add_options MOZ_SERVICES_HEALTHREPORT=0 mk_add_options MOZ_TELEMETRY_REPORTING=0 - - if ! test "$ZEN_CROSS_COMPILING"; then - ac_add_options --enable-jemalloc - ac_add_options --enable-linker=lld - fi + ac_add_options --enable-jemalloc ac_add_options --enable-hardening ac_add_options --enable-sandbox @@ -63,11 +59,11 @@ if test "$ZEN_RELEASE"; then ac_add_options --disable-profiling ac_add_options --disable-rust-tests - if ! test "$ZEN_CROSS_COMPILING"; then - export MOZ_LTO=full - ac_add_options MOZ_LTO=full - ac_add_options --enable-lto=full - fi + export MOZ_LTO=full + ac_add_options MOZ_LTO=full + ac_add_options --enable-lto=full + + ac_add_options --without-wasm-sandboxed-libraries export MOZ_PGO=1 ac_add_options MOZ_PGO=1