Skip to content

Commit f135f72

Browse files
committed
Merge pull request godotengine#94533 from bruvzg/fix_arm64_win_rel
[Windows] Fix release export template build for ARM64 Windows.
2 parents 566adc6 + 0e51911 commit f135f72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

platform/windows/detect.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,8 @@ def configure_mingw(env: "SConsEnvironment"):
639639

640640
# TODO: Re-evaluate the need for this / streamline with common config.
641641
if env["target"] == "template_release":
642-
env.Append(CCFLAGS=["-msse2"])
642+
if env["arch"] != "arm64":
643+
env.Append(CCFLAGS=["-msse2"])
643644
elif env.dev_build:
644645
# Allow big objects. It's supposed not to have drawbacks but seems to break
645646
# GCC LTO, so enabling for debug builds only (which are not built with LTO

0 commit comments

Comments
 (0)