mirror of
https://github.com/zotero/zotero.git
synced 2026-10-07 02:58:09 +00:00
Look for the macOS SDK in ~/src, and set source info, which official builds require and which Mozilla only detects automatically from Mercurial checkouts.
35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
if [ "$Z_ARCH" == "x64" ]; then
|
|
ac_add_options --target=x86_64-apple-darwin
|
|
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/src/MacOSX15.5.sdk
|
|
|
|
mk_add_options AUTOCLOBBER=1
|
|
|
|
# These don't all affect the stub, but they can't hurt, and we'll want them if
|
|
# we switch to custom XUL builds
|
|
ac_add_options MOZ_ENABLE_JS_DUMP=1
|
|
ac_add_options MOZ_ENABLE_FORKSERVER=
|
|
ac_add_options MOZ_TELEMETRY_REPORTING=
|
|
ac_add_options MOZ_DATA_REPORTING=
|
|
ac_add_options --disable-tests
|
|
ac_add_options --disable-debug
|
|
ac_add_options --disable-debug-symbols
|
|
ac_add_options --disable-webrtc
|
|
ac_add_options --disable-eme
|
|
|
|
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
|
|
ac_add_options --enable-unverified-updates
|