aboutsummaryrefslogtreecommitdiffstats
path: root/m4/compiler-warnings.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/compiler-warnings.m4')
-rw-r--r--m4/compiler-warnings.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/compiler-warnings.m4 b/m4/compiler-warnings.m4
index 539eae0..de4a8b0 100644
--- a/m4/compiler-warnings.m4
+++ b/m4/compiler-warnings.m4
@@ -14,7 +14,8 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
-Wno-sign-compare -Wunused-but-set-variable \
-Wundef -Wimplicit-function-declaration \
-Wpointer-arith -Winit-self -Wshadow \
- -Wmissing-include-dirs -Waggregate-return; do
+ -Wmissing-include-dirs -Waggregate-return \
+ -Wformat-security; do
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $option"
AC_MSG_CHECKING([whether gcc understands $option])