diff --git a/configs/macos/mozconfig b/configs/macos/mozconfig index 6c53dcbe5..bf36d1a70 100644 --- a/configs/macos/mozconfig +++ b/configs/macos/mozconfig @@ -46,6 +46,10 @@ else fi fi +if test "$ZEN_RELEASE"; then + ac_add_options --with-macos-sdk=/Library/Developer/CommandLineTools/SDKs/MacOSX26.1.sdk +fi + # Keep using ld64 on PGO/LTO builds because of performance regressions when using lld. # Mozilla sets "MOZ_LD64_KNOWN_GOOD" to true when they do automated builds with PGO/LTO on macOS. # See https://searchfox.org/firefox-main/rev/e61d59b5c9a651fd7bf28043f87c0dc669833496/build/moz.configure/lto-pgo.configure#261 diff --git a/src/firefox-patches/firefox_148_macos_sdk_override.patch b/src/firefox-patches/firefox_148_macos_sdk_override.patch deleted file mode 100644 index 204692572..000000000 --- a/src/firefox-patches/firefox_148_macos_sdk_override.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolchain.configure -index 0fb4faa598072ccad47c376765a9433b40e27a6d..1fc128de1823048820ade9e24ff3b288defcf4ed 100644 ---- a/build/moz.configure/toolchain.configure -+++ b/build/moz.configure/toolchain.configure -@@ -233,7 +233,7 @@ with only_when(host_is_osx | target_is_osx): - ) - - def mac_sdk_min_version(): -- return "26.1" -+ return "26.0" - - @depends( - "--with-macos-sdk",