Skip to content

Commit

Permalink
setup.py: remove workaround for CentOS 5
Browse files Browse the repository at this point in the history
More like ScentOS because it stinks LOLOLOLOLO
  • Loading branch information
CounterPillow committed Apr 10, 2017
1 parent e07e588 commit a183553
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,7 @@ def build_extensions(self):
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
Expand Down

0 comments on commit a183553

Please sign in to comment.