1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Disable FP contraction.

This commit is contained in:
bruvzg
2024-07-23 08:52:40 +03:00
parent 4e5ed0bbfb
commit 52a2836861
6 changed files with 34 additions and 0 deletions

View File

@@ -179,6 +179,8 @@ def configure(env: "SConsEnvironment"):
env.Append(CCFLAGS=["-fsanitize-recover=memory"])
env.Append(LINKFLAGS=["-fsanitize=memory"])
env.Append(CCFLAGS=["-ffp-contract=off"])
# LTO
if env["lto"] == "auto": # Full LTO for production.