Whamcloud - gitweb
recovery.c, jfs_user.h: Sync recovery.c with latest 2.5 kernel
[tools/e2fsprogs.git] / MCONFIG.in
index 59dde87..ba99911 100644 (file)
@@ -120,11 +120,14 @@ $(top_builddir)/util/subst:
 # Run make gcc-wall to do a build with warning messages.
 #
 #
-WFLAGS=                -ansi -D_POSIX_SOURCE -pedantic \
-                       -Wall -Wwrite-strings -Wpointer-arith \
-                       -Wcast-qual -Wcast-align -Wtraditional \
+WFLAGS=                -ansi -D_POSIX_SOURCE -pedantic $(WFLAGS_EXTRA) \
+                       -Wall -W -Wwrite-strings -Wpointer-arith \
+                       -Wcast-qual -Wcast-align  \
                        -Wstrict-prototypes -Wmissing-prototypes \
-                       -Wnested-externs -Winline -DNO_INLINE_FUNCS -Wshadow 
+                       -Wformat-security  -Wformat-nonliteral \
+                       -Wmissing-format-attribute \
+                       -Wnested-externs -Winline -DNO_INLINE_FUNCS -Wshadow \
+                       -UENABLE_NLS
 
 gcc-wall-new:
        (make USE_WFLAGS="$(WFLAGS)" > /dev/null) 2>&1 | sed -f $(top_srcdir)/util/gcc-wall-cleanup