Merge pull request #94533 from bruvzg/fix_arm64_win_rel

[Windows] Fix release export template build for ARM64 Windows.
This commit is contained in:
Rémi Verschelde 2024-07-19 14:37:13 +02:00
commit f135f729b9
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 1 deletions

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