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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user