Enable PGO only for release builds in macOS configuration (closes https://github.com/zen-browser/desktop/issues/3937)

This commit is contained in:
mr. M
2024-12-29 15:58:49 +01:00
parent 35c1ee5a79
commit b42adebc39

View File

@@ -6,8 +6,10 @@ ac_add_options --enable-eme=widevine
export MOZ_MACBUNDLE_ID=${appId}
export MOZ_MACBUNDLE_NAME="Zen Browser.app"
export MOZ_PGO=1
ac_add_options MOZ_PGO=1
if test "$ZEN_RELEASE"; then
export MOZ_PGO=1
ac_add_options MOZ_PGO=1
fi
if test "$SURFER_COMPAT" = "x86_64"; then
ac_add_options --target=x86_64-apple-darwin