diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2013-05-17 23:05:24 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2013-05-17 23:05:24 +0200 |
commit | ad53cbce3eb5ba4383129ca834ee5d678d75e85e (patch) | |
tree | 475013b162ebe5136ed180e0a7925b3eeacceaf1 /m4 | |
parent | 485c4555d70c3cb20d5ae7069f5e406393f5840c (diff) |
build: use -Wformat-security
Diffstat (limited to 'm4')
-rw-r--r-- | m4/compiler-warnings.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/compiler-warnings.m4 b/m4/compiler-warnings.m4 index 539eae0..de4a8b0 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]) |