summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2008-10-06 03:16:30 +0000
committerMike Westerhof <mwester@dls.net>2008-10-06 03:16:30 +0000
commitb444904395a5b18150bbfeabdbf47c0a699391b5 (patch)
tree01b94dd43c191d26c275164d63d0f37dccd8a4b3 /packages
parent74e7c9a96d176e32aac4791c7e308a0c904f735b (diff)
gcc-configure-cross.inc: create the target of the symlink if necessary;
fixes build failures of gcc-cross-4.1.2
Diffstat (limited to 'packages')
-rw-r--r--packages/gcc/gcc-configure-cross.inc1
1 files changed, 1 insertions, 0 deletions
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