diff options
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/replace/configure.ac | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/source4/lib/replace/configure.ac b/source4/lib/replace/configure.ac index b506b791eb..cf1fe8defc 100644 --- a/source4/lib/replace/configure.ac +++ b/source4/lib/replace/configure.ac @@ -6,7 +6,17 @@ AC_CONFIG_HEADER(config.h) m4_include(libreplace.m4) if test "$ac_cv_prog_gcc" = yes; then - CFLAGS="$CFLAGS -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings" + CFLAGS="$CFLAGS -Wall" + CFLAGS="$CFLAGS -W" + CFLAGS="$CFLAGS -Wshadow" + CFLAGS="$CFLAGS -Wstrict-prototypes" + CFLAGS="$CFLAGS -Wpointer-arith" + CFLAGS="$CFLAGS -Wcast-qual" + CFLAGS="$CFLAGS -Wcast-align" + CFLAGS="$CFLAGS -Wwrite-strings" + CFLAGS="$CFLAGS -Werror-implicit-function-declaration" + CFLAGS="$CFLAGS -Wformat=2" + CFLAGS="$CFLAGS -Wno-format-y2k" fi AC_OUTPUT(Makefile) |