diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2019-01-09 10:49:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-09 10:49:41 +0100 |
| commit | 08fe57dcee5d82f812e346d459a509c0153f2c96 (patch) | |
| tree | b08fd5e62c9765f99cddd375c9e7a66f3b6bf17b /platform/iphone/detect.py | |
| parent | e46f28e02dde08bb515fdd796ffcf114361e4877 (diff) | |
| parent | e5b335d367103f4052fc5fd435a54ad635ec447c (diff) | |
Merge pull request #24855 from hpvb/disable-ffast-math
Don't use -ffast-math or other unsafe math optimizations
Diffstat (limited to 'platform/iphone/detect.py')
| -rw-r--r-- | platform/iphone/detect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/detect.py b/platform/iphone/detect.py index 20fb4428dd..797a7d31aa 100644 --- a/platform/iphone/detect.py +++ b/platform/iphone/detect.py @@ -46,7 +46,7 @@ def configure(env): if (env["target"].startswith("release")): env.Append(CPPFLAGS=['-DNDEBUG', '-DNS_BLOCK_ASSERTIONS=1']) if (env["optimize"] == "speed"): #optimize for speed (default) - env.Append(CPPFLAGS=['-O2', '-ftree-vectorize', '-fomit-frame-pointer', '-ffast-math', '-funsafe-math-optimizations']) + env.Append(CPPFLAGS=['-O2', '-ftree-vectorize', '-fomit-frame-pointer']) env.Append(LINKFLAGS=['-O2']) else: #optimize for size env.Append(CPPFLAGS=['-Os', '-ftree-vectorize']) |