We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ac0dc2 commit fab534bCopy full SHA for fab534b
mypyc/build.py
@@ -508,7 +508,7 @@ def mypycify(
508
'-Wno-unreachable-code', '-Wno-unused-variable',
509
'-Wno-unused-command-line-argument', '-Wno-unknown-warning-option',
510
]
511
- if 'gcc' in compiler.compiler[0]:
+ if 'gcc' in compiler.compiler[0] or 'gnu-cc' in compiler.compiler[0]:
512
# This flag is needed for gcc but does not exist on clang.
513
cflags += ['-Wno-unused-but-set-variable']
514
elif compiler.compiler_type == 'msvc':
0 commit comments