Merge pull request #10865 from neikeq/woah

etc: Append -std=gnu++11 to CCFLAGS instead of CXXFLAGS

[ci skip]
This commit is contained in:
Rémi Verschelde 2017-09-01 21:25:05 +02:00 committed by GitHub
commit 90a944e856

View File

@ -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']: