[U-Boot] [PATCH] autoconf.mk.dep: use target cflags, not host

Wolfgang Denk wd at denx.de
Sat Oct 22 01:20:15 CEST 2011


Dear Mike Frysinger,

In message <1318484880-12910-1-git-send-email-vapier at gentoo.org> you wrote:
> The current autoconf.mk.dep rule uses the host cflags when executing the
> target compiler (which includes target header files).  We don't want to
> mix the target compiler and host compiler flags, so change it to CFLAGS.
> Otherwise we get things like -pedantic which the U-Boot source code does
> not build with.
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  Makefile |    2 +-
>  1 files changed, 1 insertions(+), 1 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
CONSUMER NOTICE:  Because  of  the  "Uncertainty  Principle,"  It  Is
Impossible  for  the  Consumer  to  Find  Out  at  the Same Time Both
Precisely Where This Product Is and How Fast It Is Moving.


More information about the U-Boot mailing list