From a40a91c0a7b2b3ab76a2e506484bbf660573f880 Mon Sep 17 00:00:00 2001 From: "mr. m" <91018726+mauro-balades@users.noreply.github.com> Date: Thu, 9 Jan 2025 10:04:39 +0000 Subject: [PATCH] Fixed macos PGO --- configs/macos/mozconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configs/macos/mozconfig b/configs/macos/mozconfig index e2a70ac5d..7528354cf 100644 --- a/configs/macos/mozconfig +++ b/configs/macos/mozconfig @@ -6,6 +6,14 @@ ac_add_options --enable-eme=widevine export MOZ_MACBUNDLE_ID=${appId} export MOZ_MACBUNDLE_NAME="Zen Browser.app" +if test "$ZEN_RELEASE"; then + if test "$ZEN_GA_DISABLE_PGO"; then + export ZEN_DUMMY=1 + else + export MOZ_PGO=1 + ac_add_options MOZ_PGO=1 + fi +fi if test "$SURFER_COMPAT" = "x86_64"; then ac_add_options --target=x86_64-apple-darwin