diff options
author | Nathan Binkert <nate@binkert.org> | 2008-09-19 09:42:55 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2008-09-19 09:42:55 -0700 |
commit | 196213e35511f6d7cc52ae6a1c32c4a6281cc543 (patch) | |
tree | aeb78a45e0163ceac24e3374219ff84f540b9afb /SConstruct | |
parent | 4826610d8604e8ce828ebefd9d25f5ef637c3630 (diff) | |
download | gem5-196213e35511f6d7cc52ae6a1c32c4a6281cc543.tar.xz |
We're searching for g++ incorrectly
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct index f7798b25e..cec2d5173 100644 --- a/SConstruct +++ b/SConstruct @@ -332,12 +332,9 @@ Export('base_dir_list') # M5_PLY is used by isa_parser.py to find the PLY package. env.Append(ENV = { 'M5_PLY' : str(Dir('ext/ply')) }) -env['GCC'] = False -env['SUNCC'] = False -env['ICC'] = False env['GCC'] = subprocess.Popen(env['CXX'] + ' --version', shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, - close_fds=True).communicate()[0].find('GCC') >= 0 + close_fds=True).communicate()[0].find('g++') >= 0 env['SUNCC'] = subprocess.Popen(env['CXX'] + ' -V', shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, close_fds=True).communicate()[0].find('Sun C++') >= 0 |