diff -up ./configure.upstream_werror ./configure
--- ./configure.upstream_werror	2016-09-19 09:23:28.000000000 -0400
+++ ./configure	2019-03-08 20:35:22.017458006 -0500
@@ -13672,7 +13672,7 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PySignal_SetWakeupFd in Python.h" >&5
 $as_echo_n "checking for PySignal_SetWakeupFd in Python.h... " >&6; }
 old_CPPFLAGS=$CPPFLAGS
-CPPFLAGS="-Wall -Werror $PYTHON_INCLUDES"
+CPPFLAGS="-Wall $PYTHON_INCLUDES"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <Python.h>
@@ -14856,14 +14856,6 @@ fi
     "
 
                     base_error_flags=" \
-        -Werror=missing-prototypes \
-        -Werror=implicit-function-declaration \
-        -Werror=pointer-arith \
-        -Werror=init-self \
-        -Werror=format-security \
-        -Werror=format=2 \
-        -Werror=missing-include-dirs \
-        -Werror=return-type \
     "
 
                 additional_flags=""
@@ -14884,7 +14876,7 @@ fi
     esac
 
     if test "$enable_compile_warnings" = "error" ; then
-        warning_flags="$warning_flags -Werror"
+        warning_flags="$warning_flags "
     fi
 
         for option in $warning_flags; do
