From da26c362b6b32d52f755ca55bfc6cc0f9ddb42f6 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Sat, 24 Jul 2010 22:28:22 -0400 Subject: 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 --- recipes/ncurses/ncurses.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'recipes/ncurses/ncurses.inc') diff --git a/recipes/ncurses/ncurses.inc b/recipes/ncurses/ncurses.inc index 3cf6a57e60..bebdeb4cb4 100644 --- a/recipes/ncurses/ncurses.inc +++ b/recipes/ncurses/ncurses.inc @@ -32,8 +32,7 @@ export EXTRA_OEMAKE = '"BUILD_LDFLAGS=" "BUILD_CCFLAGS=${BUILD_CCFLAGS}"' # Below option is added to overcome the GCC bug on ARM # see http://gcc.gnu.org/PR42981 for further details. # We could potentially take it off when its fixed in gcc 4.5 - -CFLAGS_append_arm = " -fforward-propagate " +CFLAGS_EXTRA_append_arm = " -fforward-progagate" # This is necessary so that the "tic" command executed during the install can # link with the correct libary in staging. -- cgit v1.2.3