From 27425da0d59e9a412cef24e271f7a242c5414229 Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Sun, 30 Nov 2003 03:47:58 +0000 Subject: staging fixes for uclibc BKrev: 3fc9686elu7kEVnpWpUoxus7HQpuzQ --- gcc/gcc-uclibc-cross_3.3.2.oe | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gcc') diff --git a/gcc/gcc-uclibc-cross_3.3.2.oe b/gcc/gcc-uclibc-cross_3.3.2.oe index 8170dcc576..2c215c380d 100644 --- a/gcc/gcc-uclibc-cross_3.3.2.oe +++ b/gcc/gcc-uclibc-cross_3.3.2.oe @@ -52,4 +52,11 @@ do_stage_append () { for d in info man share/doc share/locale ; do rm -rf ${CROSS_DIR}/$d done + + # Fix a few include links so cross builds are happier + if [ ! -e ${STAGING_DIR}/target/include/c++ ]; then + mkdir -p ${STAGING_DIR}/target/include + ln -s ${CROSS_DIR}/${TARGET_SYS}/include/c++ \ + ${STAGING_DIR}/target/include/ + fi } -- cgit v1.2.3