Skip to content

Commit

Permalink
this
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Jan 17, 2025
1 parent a8eb359 commit bfb363e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion builder/core/toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ def _compiler_version(cc):
if current_os() != 'windows':
result = util.run_command(cc, '--version', quiet=True)
lines = result.output.split('\n')
print(lines)

for text in lines:
# Apple clang
Expand All @@ -38,6 +37,8 @@ def _compiler_version(cc):
if m:
result = util.run_command(cc, '-dumpfullversion -dumpversion', quiet=True)
if result.returncode == 0:
lines2 = result.output.split('\n')
print(lines2)
return 'gcc', result.output.split('\n')[0]
return None, None

Expand Down

0 comments on commit bfb363e

Please sign in to comment.