[oe-commits] : gcc-configure-cross.inc: create the target of the symlink if necessary;

OE GIT Trial gittrial at amethyst.openembedded.net
Mon Oct 6 03:32:49 UTC 2008


Module: org.openembedded.dev.git
Branch: org.openembedded.dev
Commit: 7b0948ed611e4aa04e03e63032976cf026a7339e
URL:    http://gitweb.openembedded.net/?p=org.openembedded.dev.git&a=commit;h=7b0948ed611e4aa04e03e63032976cf026a7339e

Author:  <mwester at openembedded.org>
Date:   Mon Oct  6 03:16:30 2008 +0000

gcc-configure-cross.inc: create the target of the symlink if necessary;
fixes build failures of gcc-cross-4.1.2

---

 packages/gcc/gcc-configure-cross.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/packages/gcc/gcc-configure-cross.inc b/packages/gcc/gcc-configure-cross.inc
index d5800c7..aa4174e 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





More information about the Openembedded-commits mailing list