From 7c07a0ddfef1508cf2b79fffba102d182dd9dbc8 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Tue, 8 May 2012 20:06:22 +1000 Subject: [PATCH] configure.ac : For gcc use -Wall -Wextra when using --enable-gcc-werror. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index e794ca2..754c458 100644 --- a/configure.ac +++ b/configure.ac @@ -353,8 +353,8 @@ XIPH_GCC_VERSION if test x$ac_cv_c_compiler_gnu = xyes ; then if test x$enable_gcc_werror = "xyes" ; then - CFLAGS="-Werror $CFLAGS" - CXXFLAGS="-Werror $CXXFLAGS" + CFLAGS="-Wall -Wextra -Werror $CFLAGS" + CXXFLAGS="-Wall -Wextra -Werror $CXXFLAGS" fi fi -- 2.7.4