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
commit 2242bf9b3d
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
3 changed files with 1 additions and 4 deletions

View file

@ -207,8 +207,6 @@ def configure(env: "SConsEnvironment"):
env.Append(CPPDEFINES=[("_FILE_OFFSET_BITS", 64)])
if env["arch"] == "x86_32":
# The NDK adds this if targeting API < 24, so we can drop it when Godot targets it at least
env.Append(CCFLAGS=["-mstackrealign"])
if has_swappy:
env.Append(LIBPATH=["#thirdparty/swappy-frame-pacing/x86"])
elif env["arch"] == "x86_64":