diff --git a/configure.in b/configure.in
index 9ad40a97de06a4c50ac0a825d04a5b6a9760ff95..3a6a18dc9b6e1d1fc0643140e4e5d6626329c3ad 100644
--- a/configure.in
+++ b/configure.in
@@ -61,7 +61,7 @@ if test -z "$no_wacky_libs" ; then
 fi
 
 test yes = "$GCC" && 
-CFLAGS="-Wall -Wno-comment -Werror -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings $CFLAGS"
+CFLAGS="-Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings $CFLAGS"' $(EXTRA_CFLAGS)'
 
 AC_SUBST(PROG_LDCONFIG)
 AC_SUBST(GLIB_INCLUDES)