summaryrefslogtreecommitdiff
path: root/modules/etc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-09-01 21:25:05 +0200
committerGitHub <noreply@github.com>2017-09-01 21:25:05 +0200
commit90a944e85691157256f7cee5677c3ce062e9dc64 (patch)
treed5ce87415768aa9a942e492f884dfb80dbaa4f1e /modules/etc
parent6209b72b07a338b28d4c34ef7095d2af62014b3b (diff)
parent2f79c84ff5cdf88cc360ebbd9f714290522f1b77 (diff)
Merge pull request #10865 from neikeq/woah
etc: Append -std=gnu++11 to CCFLAGS instead of CXXFLAGS [ci skip]
Diffstat (limited to 'modules/etc')
-rw-r--r--modules/etc/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/etc/SCsub b/modules/etc/SCsub
index f0c1ee64b9..9c3e703f11 100644
--- a/modules/etc/SCsub
+++ b/modules/etc/SCsub
@@ -34,7 +34,7 @@ env_etc.Append(CPPPATH=[thirdparty_dir])
env_etc.add_source_files(env.modules_sources, "*.cpp")
# upstream uses c++11
-env_etc.Append(CXXFLAGS="-std=gnu++11")
+env_etc.Append(CCFLAGS="-std=gnu++11")
# -ffast-math seems to be incompatible with ec2comp on recent versions of
# GCC and Clang
if '-ffast-math' in env_etc['CCFLAGS']: