aboutsummaryrefslogtreecommitdiff
path: root/MCONFIG.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2006-11-14 23:40:19 -0500
committerTheodore Ts'o <tytso@mit.edu>2006-11-14 23:40:19 -0500
commit19c000e81637aed5dbc3aef6b40d01f1c0bea9ad (patch)
treeb8e4f722f11bfd74f21a01e3bf3bbcab6b88831d /MCONFIG.in
parent642935c082ca22e1186fc9926fe06e4207d5ab56 (diff)
downloade2fsprogs-19c000e81637aed5dbc3aef6b40d01f1c0bea9ad.tar.gz
Update WFLAGS to suppress spurious warning messages
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'MCONFIG.in')
-rw-r--r--MCONFIG.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/MCONFIG.in b/MCONFIG.in
index bd327d6e..c3e7685a 100644
--- a/MCONFIG.in
+++ b/MCONFIG.in
@@ -121,12 +121,13 @@ $(top_builddir)/util/subst:
# Run make gcc-wall to do a build with warning messages.
#
#
-WFLAGS= -ansi -D_POSIX_SOURCE -pedantic $(WFLAGS_EXTRA) \
+WFLAGS= -std=c99 -D_XOPEN_SOURCE=600 -D_GNU_SOURCE \
+ -pedantic $(WFLAGS_EXTRA) \
-Wall -W -Wwrite-strings -Wpointer-arith \
- -Wcast-qual -Wcast-align \
+ -Wcast-qual -Wcast-align -Wno-variadic-macros \
-Wstrict-prototypes -Wmissing-prototypes \
-Wformat-security -Wformat-nonliteral \
- -Wmissing-format-attribute \
+ -Wmissing-format-attribute -O2 -Wstrict-aliasing \
-Wnested-externs -Winline -DNO_INLINE_FUNCS -Wshadow \
-UENABLE_NLS