Issue #30923: Revert flag that is not recognized by an obsolete gcc version. (#3132)

This commit is contained in:
Stefan Krah 2017-08-18 13:55:45 +02:00 committed by GitHub
parent 5e2eb35bbe
commit f0202bb349
1 changed files with 0 additions and 3 deletions

View File

@ -2119,9 +2119,6 @@ class PyBuildExt(build_ext):
else:
raise DistutilsError("_decimal: unsupported architecture")
if 'gcc' in cc: # Suppressing the warnings in the source is too verbose.
extra_compile_args.append('-Wno-implicit-fallthrough')
# Workarounds for toolchain bugs:
if sysconfig.get_config_var('HAVE_IPA_PURE_CONST_BUG'):
# Some versions of gcc miscompile inline asm: