summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-07-23 15:55:50 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-07-23 15:55:50 +0200
commit9b7f5f5fa58df2a33e42b6c466e9231da9427bef (patch)
tree3ab42e1ed7ed5d29e7f3bb9d35d93ab7208bd7de /platform/linuxbsd/detect.py
parent29e1bdee2b48247d858f6985fc4e8f2c509de037 (diff)
parent52a2836861a4e544ce58908c50e457b18656239e (diff)
downloadredot-engine-9b7f5f5fa58df2a33e42b6c466e9231da9427bef.tar.gz
Merge pull request #94655 from bruvzg/ffp-contract-2
Disable FP contraction.
Diffstat (limited to 'platform/linuxbsd/detect.py')
-rw-r--r--platform/linuxbsd/detect.py2
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.