summaryrefslogtreecommitdiff
path: root/platform/haiku
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/haiku
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/haiku')
-rw-r--r--platform/haiku/detect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/haiku/detect.py b/platform/haiku/detect.py
index 8d704ac657..ae8cc58a4a 100644
--- a/platform/haiku/detect.py
+++ b/platform/haiku/detect.py
@@ -37,14 +37,14 @@ def configure(env):
## Build type
if (env["target"] == "release"):
- env.Prepend(CCFLAGS=['-O3', '-ffast-math'])
+ env.Prepend(CCFLAGS=['-O3'])
if (env["debug_symbols"] == "yes"):
env.Prepend(CCFLAGS=['-g1'])
if (env["debug_symbols"] == "full"):
env.Prepend(CCFLAGS=['-g2'])
elif (env["target"] == "release_debug"):
- env.Prepend(CCFLAGS=['-O2', '-ffast-math', '-DDEBUG_ENABLED'])
+ env.Prepend(CCFLAGS=['-O2', '-DDEBUG_ENABLED'])
if (env["debug_symbols"] == "yes"):
env.Prepend(CCFLAGS=['-g1'])
if (env["debug_symbols"] == "full"):