Work around ncurses-sdk & zlib-sdk build failures on CentOS 5.4
authorChris Larson <chris_larson@mentor.com>
Sun, 25 Jul 2010 02:28:22 +0000 (22:28 -0400)
committerChris Larson <chris_larson@mentor.com>
Sun, 25 Jul 2010 17:02:50 +0000 (10:02 -0700)
commitda26c362b6b32d52f755ca55bfc6cc0f9ddb42f6
tree4bf6a6a588baba78acd7d2be1b71bc54cf69d884
parent8df384ecb006741bdb891ad82d6ee24fa5be38bb
Work around ncurses-sdk & zlib-sdk build failures on CentOS 5.4

The issue here is that we're building ncurses with HOST==BUILD!=TARGET,
aka 'cross', yet we're applying a CFLAGS override based on the target, not
the host, which results in passing -fforward-propagate to the build
machine's gcc, which isn't supported in older versions.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
recipes/ncurses/ncurses.inc
recipes/ncurses/ncurses_5.4.bb
recipes/zlib/zlib.inc