mirror of https://gitlab.com/ita1024/waf.git
missing change
This commit is contained in:
parent
dcd6184d3f
commit
8571c15a1b
|
@ -1152,7 +1152,7 @@ def get_suncc_version(conf, cc):
|
|||
cmd = cc + ['-V']
|
||||
try:
|
||||
out, err = conf.cmd_and_log(cmd, output=0)
|
||||
except Errors.WafError:
|
||||
except Errors.WafError as e:
|
||||
# Older versions of the compiler exit with non-zero status when reporting their version
|
||||
if not (hasattr(e, 'returncode') and hasattr(e, 'stdout') and hasattr(e, 'stderr')):
|
||||
conf.fatal('Could not find suncc %r' % cmd)
|
||||
|
|
Loading…
Reference in New Issue