summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-05-17 23:05:24 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-05-17 23:05:24 +0200
commitad53cbce3eb5ba4383129ca834ee5d678d75e85e (patch)
tree475013b162ebe5136ed180e0a7925b3eeacceaf1 /m4
parent485c4555d70c3cb20d5ae7069f5e406393f5840c (diff)
build: use -Wformat-security
Diffstat (limited to '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])