commit | f6312ad014f880f770dcd467e131694b11d051ef | [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 | 33e84d1ef69e0f533f4bd91a14afaa6f93717061 [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>