From 3bb86860249e7b8e5219be7f8abdd688ae0973cf Mon Sep 17 00:00:00 2001 From: "mr. m" Date: Sat, 9 Aug 2025 21:57:07 +0200 Subject: [PATCH] chore: Move PGO builds for macos behind a pref, b=no-bug, c=configs --- configs/macos/mozconfig | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/configs/macos/mozconfig b/configs/macos/mozconfig index 5fb1d5c08..16a6a176a 100644 --- a/configs/macos/mozconfig +++ b/configs/macos/mozconfig @@ -12,11 +12,13 @@ ac_add_options --enable-eme=widevine export MOZ_LTO=cross,thin ac_add_options --enable-lto=cross,thin -if test "$ZEN_GA_DISABLE_PGO"; then - export ZEN_DUMMY=1 -else - export MOZ_PGO=1 - ac_add_options MOZ_PGO=1 +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