Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kbuild: Disable the -Wformat-security gcc flag
Some distributions have enabled the gcc flag -Wformat-security by default. This results in a number of warnings about format arguments to functions, sometimes in cases where fixing the warning is not likely to actually fix a bug. Instead of hand patching a dozens of places (possibly more) that produce warnings that get ignored anyway we just turn off the flag in the Makefile. Signed-off-by: Floris Kraak <[email protected]> Signed-off-by: Pekka Enberg <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]>
- Loading branch information