From: Mike Westerhof Date: Mon, 6 Oct 2008 03:16:30 +0000 (+0000) Subject: gcc-configure-cross.inc: create the target of the symlink if necessary; X-Git-Tag: Release-2010-05/1~5850^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b444904395a5b18150bbfeabdbf47c0a699391b5;p=openembedded.git gcc-configure-cross.inc: create the target of the symlink if necessary; fixes build failures of gcc-cross-4.1.2 --- diff --git a/packages/gcc/gcc-configure-cross.inc b/packages/gcc/gcc-configure-cross.inc index d5800c78ff..aa4174edc4 100644 --- a/packages/gcc/gcc-configure-cross.inc +++ b/packages/gcc/gcc-configure-cross.inc @@ -27,6 +27,7 @@ do_stage_append () { # Fix a few include links so cross builds are happier if [ ! -e ${STAGING_INCDIR}/c++ ]; then mkdir -p ${STAGING_INCDIR} + mkdir -p ${CROSS_DIR}/${TARGET_SYS}/include/c++ ln -sf ${CROSS_DIR}/${TARGET_SYS}/include/c++ \ ${STAGING_INCDIR}/ fi