From 7f839c535c784600326f597a5b1adf6a6773f772 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 1 Oct 2026 11:49:15 -0400 Subject: [PATCH] Update mozconfig for Mac builds from Git checkouts Look for the macOS SDK in ~/src, and set source info, which official builds require and which Mozilla only detects automatically from Mercurial checkouts. --- app/mac/mozconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/mac/mozconfig b/app/mac/mozconfig index 9d22089430..ae0e61c531 100644 --- a/app/mac/mozconfig +++ b/app/mac/mozconfig @@ -4,7 +4,7 @@ elif [ "$Z_ARCH" == "aarch64" ]; then ac_add_options --target=aarch64-apple-darwin fi ac_add_options --enable-bootstrap -ac_add_options --with-macos-sdk=$HOME/tmp/MacOSX15.5.sdk +ac_add_options --with-macos-sdk=$HOME/src/MacOSX15.5.sdk mk_add_options AUTOCLOBBER=1 @@ -24,6 +24,11 @@ export MOZILLA_OFFICIAL=1 export RELEASE_OR_BETA=1 MOZ_REQUIRE_SIGNING= +# Official builds require source info, which Mozilla only detects automatically from +# Mercurial checkouts +export MOZ_SOURCE_REPO=https://github.com/mozilla-firefox/firefox +export MOZ_SOURCE_CHANGESET=$(git -C "$topsrcdir" rev-parse HEAD) + ac_add_options --enable-official-branding # Build updater without MAR signature verification