summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/compiler.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/compiler.m4 b/m4/compiler.m4
index 937457ad9..972a7f255 100644
--- a/m4/compiler.m4
+++ b/m4/compiler.m4
@@ -8,7 +8,7 @@ AC_DEFUN([DPKG_COMPILER_WARNINGS],
[AC_ARG_ENABLE(compiler-warnings,
AS_HELP_STRING([--enable-compiler-warnings],
[Enable additional compiler warnings]),
-[WFLAGS="-Wall -Werror"
+[WFLAGS="-Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers"
if test "x$enable_compiler_warnings" = "xyes"; then
if test "x$GCC" = "xyes"; then
CFLAGS="$WFLAGS $CFLAGS"