Skip to content

Commit

Permalink
Don't build universal binaries for macOS / iOS when dev_build=yes, to…
Browse files Browse the repository at this point in the history
… save on dev build time.
  • Loading branch information
Ivorforce committed Oct 4, 2024
1 parent 6facde3 commit 9b0189c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/godotcpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,9 @@ def generate(env):
# Process CPU architecture argument.
if env["arch"] == "":
# No architecture specified. Default to arm64 if building for Android,
# universal if building for macOS or iOS, wasm32 if building for web,
# universal if building for macOS or iOS (non-dev), wasm32 if building for web,
# otherwise default to the host architecture.
if env["platform"] in ["macos", "ios"]:
if env["platform"] in ["macos", "ios"] and not env["dev_build"]:
env["arch"] = "universal"
elif env["platform"] == "android":
env["arch"] = "arm64"
Expand Down

0 comments on commit 9b0189c

Please sign in to comment.