Skip to content

Commit 3bb8686

Browse files
committed
chore: Move PGO builds for macos behind a pref, b=no-bug, c=configs
1 parent e6b1cbd commit 3bb8686

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

configs/macos/mozconfig

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ ac_add_options --enable-eme=widevine
1212
export MOZ_LTO=cross,thin
1313
ac_add_options --enable-lto=cross,thin
1414

15-
if test "$ZEN_GA_DISABLE_PGO"; then
16-
export ZEN_DUMMY=1
17-
else
18-
export MOZ_PGO=1
19-
ac_add_options MOZ_PGO=1
15+
if test "$ZEN_RELEASE"; then
16+
if test "$ZEN_GA_DISABLE_PGO"; then
17+
export ZEN_DUMMY=1
18+
else
19+
export MOZ_PGO=1
20+
ac_add_options MOZ_PGO=1
21+
fi
2022
fi
2123

2224
if test "$SURFER_COMPAT" = "x86_64"; then

0 commit comments

Comments
 (0)