move template-depth max to 300 to allow wkt parser compile with boost 1.47 on RHEL - closes #874

This commit is contained in:
Dane Springmeyer 2011-09-10 05:37:19 +00:00
parent a9fa9ca8b3
commit b01b21f24d

View file

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