Skip to content

Commit

Permalink
Try to make compiler_override work with pcc, tcc
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Jul 26, 2024
1 parent 80b3551 commit 05d11e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/test_euler.py
Original file line number Diff line number Diff line change
@@ -105,7 +105,7 @@

if 'COMPILER_OVERRIDE' in environ:
for comp in environ['COMPILER_OVERRIDE'].upper().split(','):
if comp in ('pcc', 'tcc'):
if comp.strip().lower() in ('pcc', 'tcc'):
compilers.append(comp)
else:
compilers.extend(f'{comp}+{std}' for std in STANDARDS)

0 comments on commit 05d11e1

Please sign in to comment.