[U-Boot] [PATCH] disable security warning flags when possible

Wolfgang Denk wd at denx.de
Tue Jul 26 16:35:58 CEST 2011


Dear Mike Frysinger,

In message <1303754800-14317-1-git-send-email-vapier at gentoo.org> you wrote:
> 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 at gentoo.org>
> ---
>  config.mk |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The following statement is not true.  The previous statement is true.


More information about the U-Boot mailing list