From a183553ba5e785aed9041c664a24c60a9bef4b96 Mon Sep 17 00:00:00 2001 From: Nicolas F Date: Mon, 10 Apr 2017 12:22:05 +0200 Subject: [PATCH] setup.py: remove workaround for CentOS 5 More like ScentOS because it stinks LOLOLOLOLO --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.py b/setup.py index b3b2775..4163147 100755 --- a/setup.py +++ b/setup.py @@ -296,9 +296,7 @@ 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") + e.extra_compile_args.append("-Werror=declaration-after-statement") # build in place, and in the build/ tree