Skip to content

Commit 8bece50

Browse files
debugg
1 parent bfb363e commit 8bece50

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

builder/core/toolchain.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ def _compiler_version(cc):
3333
if m:
3434
return 'gcc', m.group(1)
3535
# other gcc
36-
m = re.match(r'gcc .+', text)
36+
m = re.match(r'^gcc', text)
3737
if m:
38+
print("got here")
3839
result = util.run_command(cc, '-dumpfullversion -dumpversion', quiet=True)
40+
print(result)
3941
if result.returncode == 0:
4042
lines2 = result.output.split('\n')
4143
print(lines2)

0 commit comments

Comments
 (0)