Make clang detection work on AWS Ubuntu14.

This commit is contained in:
Todd Gamblin 2016-08-27 17:04:46 -07:00
parent 7ebb17e459
commit 2053db4d17

View file

@ -101,7 +101,7 @@ def default_version(cls, comp):
ver = match.group(1) + '-apple'
else:
# Normal clang compiler versions are left as-is
match = re.search(r'^clang version ([^ )]+)', output)
match = re.search(r'clang version ([^ )]+)', output)
if match:
ver = match.group(1)