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.
This commit is contained in:
Dan Stillman 2026-10-01 11:49:15 -04:00
parent 2015f9a910
commit 7f839c535c

View file

@ -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