Skip to content

Commit

Permalink
fix MacOS cross-compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex313031 committed Sep 17, 2024
1 parent 687de05 commit 3316a65
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion mozconfigs/mozconfig-macos-arm64-cross
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,12 @@ export MOZ_MACBUNDLE_ID=${appId}
export MOZ_MACBUNDLE_NAME="Mercury.app"

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j5"
mk_add_options MOZ_MAKE_FLAGS="-j16"

# Change to actual location of SDK
## https://github.com/bitcoin-core/apple-sdk-tools
## https://firefox-source-docs.mozilla.org/widget/cocoa/sdks.html
ac_add_options --with-macos-sdk=/home/alex/temp/MacOSX.sdk

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand Down
7 changes: 6 additions & 1 deletion mozconfigs/mozconfig-macos-x64-cross
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,12 @@ ac_add_options --with-distribution-id=com.alex313031.mercury
#-app=/home/alex/bin/Mercury/application.ini

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j5"
mk_add_options MOZ_MAKE_FLAGS="-j16"

# Change to actual location of SDK
## https://github.com/bitcoin-core/apple-sdk-tools
## https://firefox-source-docs.mozilla.org/widget/cocoa/sdks.html
ac_add_options --with-macos-sdk=/home/alex/temp/MacOSX.sdk

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand Down

0 comments on commit 3316a65

Please sign in to comment.