summaryrefslogtreecommitdiff
path: root/modules
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 /modules
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 'modules')
-rw-r--r--modules/etc/SCsub5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/etc/SCsub b/modules/etc/SCsub
index d2c77d6e3c..6e963ef766 100644
--- a/modules/etc/SCsub
+++ b/modules/etc/SCsub
@@ -33,11 +33,6 @@ env_etc.Append(CPPPATH=[thirdparty_dir])
if not env.msvc:
env_etc.Append(CCFLAGS="-std=c++11")
-# -ffast-math seems to be incompatible with etc2comp on recent versions of
-# GCC and Clang
-if '-ffast-math' in env_etc['CCFLAGS']:
- env_etc['CCFLAGS'].remove('-ffast-math')
-
env_thirdparty = env_etc.Clone()
env_thirdparty.disable_warnings()
env_thirdparty.add_source_files(env.modules_sources, thirdparty_sources)