Merge pull request #105697 from akien-mga/scons-x86_32-mfpmath-sse

SCons: Explicitly enable `-mfpmath=sse -mstackrealign` for x86_32
This commit is contained in:
Thaddeus Crews
2025-04-28 10:01:31 -05:00
3 changed files with 1 additions and 4 deletions

View File

@ -718,7 +718,7 @@ if env["arch"] == "x86_32":
if env.msvc:
env.Append(CCFLAGS=["/arch:SSE2"])
else:
env.Append(CCFLAGS=["-msse2"])
env.Append(CCFLAGS=["-msse2", "-mfpmath=sse", "-mstackrealign"])
# Explicitly specify colored output.
if methods.using_gcc(env):