[Windows] Fix release export template build for ARM64 Windows.

This commit is contained in:
bruvzg 2024-07-19 14:31:15 +03:00
parent 293c0f7646
commit 0e519118d2

View file

@ -639,6 +639,7 @@ def configure_mingw(env: "SConsEnvironment"):
# TODO: Re-evaluate the need for this / streamline with common config.
if env["target"] == "template_release":
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