[U-Boot] [PATCH] config.mk: avoid -traditional-cpp on OS X 10.5

Wolfgang Denk wd at denx.de
Mon Aug 9 01:12:09 CEST 2010


Dear Mike Frysinger,

In message <1280877458-20990-1-git-send-email-vapier at gentoo.org> you wrote:
> Simply trying to include a basic header file like stdlib.h on OS X 10.5
> and then building with -traditional-cpp fails with lots of errors like:
> In file included from /usr/include/stdlib.h:63,
>                  from test.c:3:
> /usr/include/available.h:85: error: stray '#' in program
> /usr/include/available.h:85: error: syntax error before numeric constant
> /usr/include/available.h:86: error: stray '#' in program
> 
> In the past, I hadn't noticed because the old logic for these flags were
> restricted to Darwin running on PowerPC systems while I'm running on an
> Intel system.  But after some recent clean ups and changes, the flag was
> being applied to all Darwin systems and my host tools broke.
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
> Note: i've only tested Darwin/x86 as my Darwin/ppc is having hardware
>       trouble atm ... not sure when/if i'll get it fixed
> 
>  config.mk |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 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
Any sufficiently advanced technology is indistinguishable from magic.
Clarke's Third Law       - _Profiles of the Future_ (1962; rev. 1973)
                  ``Hazards of Prophecy: The Failure of Imagination''


More information about the U-Boot mailing list