Skip to content

Commit

Permalink
[Windows] Fix release export template build for ARM64 Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
bruvzg committed Jul 19, 2024
1 parent 293c0f7 commit 0e51911
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion platform/windows/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,8 @@ def configure_mingw(env: "SConsEnvironment"):

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

0 comments on commit 0e51911

Please sign in to comment.