--- configure
+++ configure
@@ -18616,7 +18616,7 @@ if test "$enable_compile_warnings" != no ; then
     if test "$enable_compile_warnings" = error; then
       case " $CFLAGS " in
       *[\ \   ]-Werror[\ \    ]*) ;;
-      *) CFLAGS="$CFLAGS -Werror -Wno-error=deprecated-declarations" ;;
+      *) CFLAGS="$CFLAGS -Wno-error=deprecated-declarations" ;;
       esac
     fi
   fi
