]> git.ipfire.org Git - people/ms/u-boot.git/commit - config.mk
config.mk: avoid -traditional-cpp on OS X 10.5
authorMike Frysinger <vapier@gentoo.org>
Tue, 3 Aug 2010 23:17:38 +0000 (19:17 -0400)
committerWolfgang Denk <wd@denx.de>
Sun, 8 Aug 2010 23:11:58 +0000 (01:11 +0200)
commitf534c7cdc66158fbf4d5e8b953e84ba070729d72
tree230b41531c72d3b09fa27025547ca0ca3e19aa6f
parent3840ebfaf8f3af46d1046ce63dbebc22f2b39349
config.mk: avoid -traditional-cpp on OS X 10.5

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@gentoo.org>
config.mk