From: Floris Kraak Date: Mon, 15 Jun 2009 05:54:02 +0000 (+0300) Subject: Kbuild: Disable the -Wformat-security gcc flag X-Git-Tag: v2.6.31-rc2~7^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8735821d198675dd326cc5847e79df79c735119;p=pandora-kernel.git 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 Signed-off-by: Pekka Enberg Signed-off-by: Sam Ravnborg --- Reading git-diff-tree failed