summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-04-02 09:24:56 -0400
committerDan Winship <danw@gnome.org>2014-04-02 09:24:56 -0400
commitece92fe67a92824648022fadb4b0ec6fa74fc7ed (patch)
tree80845956511746b0995fc608a45866a2dbee6951
parenta9fe0d3a347c6b8af6d772a758c64ffd9580d9de (diff)
downloadNetworkManager-ece92fe67a92824648022fadb4b0ec6fa74fc7ed.tar.gz
build: add -Wformat-security to the default warning flags
-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 3037c584f9..357ff0e7e0 100644
--- a/m4/compiler_warnings.m4
+++ b/m4/compiler_warnings.m4
@@ -8,7 +8,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
CFLAGS="-Wall -std=gnu89 $CFLAGS"
for option in -Wshadow -Wmissing-declarations -Wmissing-prototypes \
- -Wdeclaration-after-statement \
+ -Wdeclaration-after-statement -Wformat-security \
-Wfloat-equal -Wno-unused-parameter -Wno-sign-compare \
-fno-strict-aliasing -Wno-unused-but-set-variable \
-Wundef -Wimplicit-function-declaration \