chore: Update build configurations for Linux, macOS, and Windows

This commit is contained in:
Mauro Balades
2024-08-01 15:44:41 +02:00
parent 349b33c115
commit 3333fe22d2
3 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ if test "$ZEN_RELEASE"; then
fi
fi
if test "$SURFER_COMPAT" = "1"; then
if test "$SURFER_COMPAT" = "true"; then
# Build for linux-i686
ac_add_options --target=i686-pc-linux
fi

View File

@@ -6,7 +6,7 @@ ac_add_options --enable-install-strip
export MOZ_MACBUNDLE_ID=${appId}
export MOZ_MACBUNDLE_NAME="Zen Browser.app"
if test "$SURFER_COMPAT" = "1"; then
if test "$SURFER_COMPAT" = "true"; then
export MOZ_PGO=1
ac_add_options MOZ_PGO=1
ac_add_options --target=x86_64-apple-darwin

View File

@@ -9,7 +9,7 @@ if test "$ZEN_CROSS_COMPILING"; then
#? https://bugzilla.mozilla.org/show_bug.cgi?id=1617793
#? https://phabricator.services.mozilla.com/D170170
if test "$SURFER_COMPAT" = "1"; then
if test "$SURFER_COMPAT" = "true"; then
ac_add_options --target=i686-pc-windows-msvc
else
ac_add_options --target=x86_64-pc-windows-msvc