diff --git a/configure.ac b/configure.ac
index 1f05a7e..7b34c4b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -93,7 +93,7 @@ AC_DEFUN([gl_GCC_VERSION_IFELSE],
 )
 
 if test "$gl_gcc_warnings" = yes; then
-  gl_WARN_ADD([-Werror], [WERROR_CFLAGS])
+  gl_WARN_ADD([], [WERROR_CFLAGS])
   AC_SUBST([WERROR_CFLAGS])
 
   nw=
