From 3333fe22d2ae0e1ec9cffa00da011aa898701fd3 Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Thu, 1 Aug 2024 15:44:41 +0200 Subject: [PATCH] chore: Update build configurations for Linux, macOS, and Windows --- configs/linux/mozconfig | 2 +- configs/macos/mozconfig | 2 +- configs/windows/mozconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/linux/mozconfig b/configs/linux/mozconfig index db61106ac..0093098b4 100644 --- a/configs/linux/mozconfig +++ b/configs/linux/mozconfig @@ -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 diff --git a/configs/macos/mozconfig b/configs/macos/mozconfig index 69c6f94c2..47095d2ba 100644 --- a/configs/macos/mozconfig +++ b/configs/macos/mozconfig @@ -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 diff --git a/configs/windows/mozconfig b/configs/windows/mozconfig index 7af041c66..84cbad061 100644 --- a/configs/windows/mozconfig +++ b/configs/windows/mozconfig @@ -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