]> git.ipfire.org Git - people/ms/u-boot.git/commit
disable security warning flags when possible
authorMike Frysinger <vapier@gentoo.org>
Mon, 25 Apr 2011 08:06:40 +0000 (08:06 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 26 Jul 2011 14:35:50 +0000 (16:35 +0200)
commit6262e4e74e2cdb9f231dc71c9893d4a4bd1e88df
tree4d27d453958611a7f236842605c406285bae5547
parente84ffddbced7620aa9fe4b9e8bfffb6a994c7b4e
disable security warning flags when possible

Some toolchains enable security warning flags by default, but these don't
really make sense in the u-boot world.  Such as forcing changes like:
-printf(foo);
+printf("%s", foo);

So disable the flags when the compiler supports them.  Linux has already
merged a similar change in their build system.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
config.mk