summaryrefslogtreecommitdiff
path: root/modules/etc/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/etc/SCsub')
-rw-r--r--modules/etc/SCsub7
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/etc/SCsub b/modules/etc/SCsub
index d2c77d6e3c..eb2738053b 100644
--- a/modules/etc/SCsub
+++ b/modules/etc/SCsub
@@ -31,12 +31,7 @@ env_etc.Append(CPPPATH=[thirdparty_dir])
# upstream uses c++11
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_etc.Append(CXXFLAGS="-std=c++11")
env_thirdparty = env_etc.Clone()
env_thirdparty.disable_warnings()