build: -Wformat is required for -Wformat-security
GCC will ignore -Wformat-security without -Wformat on the same compiler flags.
This commit is contained in:
parent
157a0cf936
commit
46d6697b91
@ -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"])
|
||||
]
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user