summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-05-17 23:14:36 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-05-17 23:16:01 +0200
commite63e062a76d9598d62d0efc21a6a5853ce1f33d9 (patch)
treedc473940a42816c366f1fc1c439ea930d459e6cc
parent48f47cd53f69d43cd797a8889c86e688727a1441 (diff)
downloadModemManager-e63e062a76d9598d62d0efc21a6a5853ce1f33d9.tar.gz
build: use -Wformat-security
-rw-r--r--m4/compiler_warnings.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/compiler_warnings.m4 b/m4/compiler_warnings.m4
index 519647a4a..c592eb989 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])