summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-05-17 23:04:32 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-05-17 23:04:32 +0200
commitcb669e86fcb44db73f4de135e2d57c9ec68760f6 (patch)
treedc5cf78037ea49b4f74ba233e4f9f1c4cf2e5f30 /m4
parent953e5c4d0eb17d6effe027546dc4e3f9d93e3b55 (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 40d19dc..eb78503 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])