Kbuild: Disable the -Wformat-security gcc flag
authorFloris Kraak <randakar@gmail.com>
Mon, 15 Jun 2009 05:54:02 +0000 (08:54 +0300)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 26 Jun 2009 22:15:27 +0000 (00:15 +0200)
commita8735821d198675dd326cc5847e79df79c735119
tree917e98bb50601de2694e475085d2497a74c469f7
parent7a6b1f1c0c492a6bb6f778dff0f9f5facb90d1a1
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 <randakar@gmail.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Makefile