diff options
-rw-r--r-- | SConstruct | 2 | ||||
-rw-r--r-- | src/SConscript | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index 12f735a9d..adcc9eb7c 100644 --- a/SConstruct +++ b/SConstruct @@ -219,7 +219,7 @@ env['SUNCC'] = subprocess.Popen(env['CXX'] + ' -V', shell=True, env['ICC'] = subprocess.Popen(env['CXX'] + ' -V', shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, close_fds=True).communicate()[0].find('Intel') >= 0 -if env['GCC'] + env['SUNCC'] env['ICC'] > 1: +if env['GCC'] + env['SUNCC'] + env['ICC'] > 1: print 'Error: How can we have two at the same time?' Exit(1) diff --git a/src/SConscript b/src/SConscript index 59b2ec42c..596dca253 100644 --- a/src/SConscript +++ b/src/SConscript @@ -328,7 +328,7 @@ elif env['SUNCC']: elif env['ICC']: ccflags['debug'] = '-g -O0' ccflags['opt'] = '-g -O' - ccflags['fast'] = '-xW -O3 -ipo -no-prec-div -static' + ccflags['fast'] = '-fast' ccflags['prof'] = '-fast -g -pg' else: print 'Unknown compiler, please fix compiler options' |