diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2017-09-01 18:50:59 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2017-09-01 18:51:50 +0200 |
commit | 2f79c84ff5cdf88cc360ebbd9f714290522f1b77 (patch) | |
tree | 528561ca796fb7aa034e78df03ef416e2a3a1502 /modules | |
parent | 6e9e25b41d33745f65910fa077c9049ddccb3445 (diff) |
etc: Append -std=gnu++11 to CCFLAGS instead of CXXFLAGS
This way it can override the -std flags passed to scons.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/etc/SCsub | 2 |
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']: |