build: -Wformat is required for -Wformat-security

GCC will ignore -Wformat-security without -Wformat on the same compiler
flags.
This commit is contained in:
Emmanuele Bassi 2010-02-01 14:53:13 +00:00
parent 157a0cf936
commit 46d6697b91

View File

@ -793,8 +793,8 @@ AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"],
[
AS_COMPILER_FLAGS([MAINTAINER_CFLAGS],
["-Wall -Wshadow -Wcast-align -Wno-uninitialized
-Wno-strict-aliasing -Wempty-body -Wformat-security
-Winit-self"])
-Wno-strict-aliasing -Wempty-body -Wformat
-Wformat-security -Winit-self"])
]
)