diff --git a/configs/linux/mozconfig b/configs/linux/mozconfig index dc8851f70..705c92f61 100644 --- a/configs/linux/mozconfig +++ b/configs/linux/mozconfig @@ -27,8 +27,7 @@ if test "$ZEN_RELEASE"; then mk_add_options 'export SCCACHE_GHA_ENABLED=on' fi - export MOZ_PGO=1 - ac_add_options MOZ_PGO=1 + if test "$SURFER_COMPAT" = "true"; then ac_add_options --enable-optimize="-O3 -march=x86-64"