We're searching for g++ incorrectly
This commit is contained in:
parent
4826610d86
commit
196213e355
1 changed files with 1 additions and 4 deletions
|
@ -332,12 +332,9 @@ Export('base_dir_list')
|
||||||
|
|
||||||
# M5_PLY is used by isa_parser.py to find the PLY package.
|
# M5_PLY is used by isa_parser.py to find the PLY package.
|
||||||
env.Append(ENV = { 'M5_PLY' : str(Dir('ext/ply')) })
|
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,
|
env['GCC'] = subprocess.Popen(env['CXX'] + ' --version', shell=True,
|
||||||
stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
|
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,
|
env['SUNCC'] = subprocess.Popen(env['CXX'] + ' -V', shell=True,
|
||||||
stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
|
stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
|
||||||
close_fds=True).communicate()[0].find('Sun C++') >= 0
|
close_fds=True).communicate()[0].find('Sun C++') >= 0
|
||||||
|
|
Loading…
Reference in a new issue