From 9b0189c23d4f8613ced2c996c05856320f40c3ba Mon Sep 17 00:00:00 2001 From: Lukas Tenbrink Date: Fri, 4 Oct 2024 21:08:17 +0200 Subject: [PATCH] Don't build universal binaries for macOS / iOS when dev_build=yes, to save on dev build time. --- tools/godotcpp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/godotcpp.py b/tools/godotcpp.py index 9ceac02b..084e0184 100644 --- a/tools/godotcpp.py +++ b/tools/godotcpp.py @@ -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"