+ remove "-ansi" compile flags to avoid clashung with -std=c++11

This commit is contained in:
artemp 2013-04-19 09:42:24 +01:00
parent a41c83fbce
commit 7cd8c63656

View file

@ -1614,7 +1614,7 @@ if not preconfigured:
if not env['SUNCC']:
# Common flags for GCC.
gcc_cxx_flags = '-ansi -Wall %s %s -ftemplate-depth-300 ' % (env['WARNING_CXXFLAGS'], pthread)
gcc_cxx_flags = '-Wall %s %s -ftemplate-depth-300 ' % (env['WARNING_CXXFLAGS'], pthread)
if env['DEBUG']:
env.Append(CXXFLAGS = gcc_cxx_flags + '-O0 -fno-inline')
else: