commit | 6262e4e74e2cdb9f231dc71c9893d4a4bd1e88df | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Mon Apr 25 08:06:40 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Tue Jul 26 16:35:50 2011 +0200 |
tree | 4d27d453958611a7f236842605c406285bae5547 | |
parent | e84ffddbced7620aa9fe4b9e8bfffb6a994c7b4e [diff] |
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>