summaryrefslogtreecommitdiff
path: root/platform/server/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-01-09 10:49:41 +0100
committerGitHub <noreply@github.com>2019-01-09 10:49:41 +0100
commit08fe57dcee5d82f812e346d459a509c0153f2c96 (patch)
treeb08fd5e62c9765f99cddd375c9e7a66f3b6bf17b /platform/server/detect.py
parente46f28e02dde08bb515fdd796ffcf114361e4877 (diff)
parente5b335d367103f4052fc5fd435a54ad635ec447c (diff)
Merge pull request #24855 from hpvb/disable-ffast-math
Don't use -ffast-math or other unsafe math optimizations
Diffstat (limited to 'platform/server/detect.py')
-rw-r--r--platform/server/detect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/server/detect.py b/platform/server/detect.py
index 0b23e9c649..392a987ee9 100644
--- a/platform/server/detect.py
+++ b/platform/server/detect.py
@@ -43,10 +43,10 @@ def configure(env):
## Build type
if (env["target"] == "release"):
- env.Append(CCFLAGS=['-O2', '-ffast-math', '-fomit-frame-pointer'])
+ env.Append(CCFLAGS=['-O2', '-fomit-frame-pointer'])
elif (env["target"] == "release_debug"):
- env.Append(CCFLAGS=['-O2', '-ffast-math', '-DDEBUG_ENABLED'])
+ env.Append(CCFLAGS=['-O2', '-DDEBUG_ENABLED'])
elif (env["target"] == "debug"):
env.Append(CCFLAGS=['-g2', '-DDEBUG_ENABLED', '-DDEBUG_MEMORY_ENABLED'])