summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-configure-cross.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gcc/gcc-configure-cross.inc')
-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