summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 341b1159a..1d2de5a61 100644
--- a/setup.py
+++ b/setup.py
@@ -22,9 +22,9 @@ if sys.platform == "win32":
# Work around issue https://github.com/pypa/setuptools/issues/1902
ext_errors += (IOError, TypeError)
extra_compile_args = []
-elif sys.platform == "linux":
+elif sys.platform in ("linux", "linux2"):
# warn for undefined symbols in .c files
- extra_compile_args = ["-Wundef"]
+ extra_compile_args = ["-Wundef", "-Werror=implicit-function-declaration"]
else:
extra_compile_args = []