0

setup.py: remove workaround for CentOS 5

More like ScentOS because it stinks LOLOLOLOLO
This commit is contained in:
Nicolas F
2017-04-10 12:22:05 +02:00
parent e07e588e59
commit a183553ba5

View File

@@ -296,8 +296,6 @@ class CustomBuildExt(build_ext):
e.extra_compile_args.append("-Wno-unused-variable") # quell some annoying warnings
e.extra_compile_args.append("-Wno-unused-function") # quell some annoying warnings
e.extra_compile_args.append("-Wdeclaration-after-statement")
p = platform.linux_distribution()
if not (p[0] == 'CentOS' and p[1][0] == '5'):
e.extra_compile_args.append("-Werror=declaration-after-statement")