Skip to content

Commit 0e51911

Browse files
committed
[Windows] Fix release export template build for ARM64 Windows.
1 parent 293c0f7 commit 0e51911

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)