scons: Remove stale compiler options

This patch simply prunes the SUNCC and ICC compiler options as they
are both sufficiently stale that they would have to be re-written from
scratch anyhow. The patch serves to clean things up before shifting to
a build environment that enforces basic c++11 compliance as done in
the following patch.
This commit is contained in:
Andreas Hansson
2013-01-07 13:05:39 -05:00
parent 921490a060
commit 221302335b
3 changed files with 15 additions and 37 deletions

View File

@@ -1006,17 +1006,6 @@ if env['GCC']:
ccflags['fast'] += env['LTO_CCFLAGS']
ldflags['fast'] += env['LTO_LDFLAGS']
elif env['SUNCC']:
ccflags['debug'] += ['-g0']
ccflags['opt'] += ['-O']
for target in ['fast', 'prof', 'perf']:
ccflags[target] += ['-fast']
elif env['ICC']:
ccflags['debug'] += ['-g', '-O0']
ccflags['opt'] += ['-O']
for target in ['fast', 'prof', 'perf']:
ccflags[target] += ['-fast']
elif env['CLANG']:
ccflags['debug'] += ['-g', '-O0']
# opt, fast, prof and perf all share the same cc flags