summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/gcc-cross_3.3.3.oe1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gcc-cross_3.3.3.oe b/gcc/gcc-cross_3.3.3.oe
index 0a7679b933..1bbed5328c 100644
--- a/gcc/gcc-cross_3.3.3.oe
+++ b/gcc/gcc-cross_3.3.3.oe
@@ -58,6 +58,7 @@ do_stage_append () {
# Fix a few include links so cross builds are happier
if [ ! -e ${STAGING_INCDIR}/c++ ]; then
mkdir -p ${STAGING_INCDIR}
+ rm -f ${STAGING_INCDIR}/c++
ln -s ${CROSS_DIR}/${TARGET_SYS}/include/c++ \
${STAGING_INCDIR}/
fi