From e63e062a76d9598d62d0efc21a6a5853ce1f33d9 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 17 May 2013 23:14:36 +0200 Subject: [PATCH] build: use -Wformat-security --- m4/compiler_warnings.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/compiler_warnings.m4 b/m4/compiler_warnings.m4 index 519647a4..c592eb98 100644 --- a/m4/compiler_warnings.m4 +++ b/m4/compiler_warnings.m4 @@ -11,7 +11,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then -Wdeclaration-after-statement -Wstrict-prototypes \ -Wno-unused-parameter -Wno-sign-compare \ -fno-strict-aliasing -Wno-deprecated-declarations \ - -Wno-unused-but-set-variable; do + -Wno-unused-but-set-variable -Wformat-security; do SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $option" AC_MSG_CHECKING([whether gcc understands $option])