diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-07-23 08:52:40 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-07-23 14:33:51 +0300 |
commit | 52a2836861a4e544ce58908c50e457b18656239e (patch) | |
tree | e272babae0fe3dedd85fc64213c0e277507f8d6c /platform/linuxbsd | |
parent | 4e5ed0bbfb56f0a71eb61c868f965476652c23df (diff) | |
download | redot-engine-52a2836861a4e544ce58908c50e457b18656239e.tar.gz |
Disable FP contraction.
Diffstat (limited to 'platform/linuxbsd')
-rw-r--r-- | platform/linuxbsd/detect.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py index 303a88ab26..d1de760f34 100644 --- a/platform/linuxbsd/detect.py +++ b/platform/linuxbsd/detect.py @@ -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. |