]> granicus.if.org Git - python/commitdiff
Issue #30923: Revert flag that is not recognized by an obsolete gcc version. (#3132)
authorStefan Krah <skrah@bytereef.org>
Fri, 18 Aug 2017 11:55:45 +0000 (13:55 +0200)
committerGitHub <noreply@github.com>
Fri, 18 Aug 2017 11:55:45 +0000 (13:55 +0200)
setup.py

index 4f0f522bf8f06be7058796c187b9f48743995b9b..41aad8210d82672acc9a477fd62e86a4d0dc0fed 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -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: