build: use -Wformat-security

This commit is contained in:
Aleksander Morgado 2013-05-17 23:05:24 +02:00
parent 485c4555d7
commit ad53cbce3e
1 changed files with 2 additions and 1 deletions

View File

@ -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])