diff options
Diffstat (limited to 'gcc/gcc_3.3.2.oe')
-rw-r--r-- | gcc/gcc_3.3.2.oe | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/gcc_3.3.2.oe b/gcc/gcc_3.3.2.oe index ca6f239d34..9335dc7488 100644 --- a/gcc/gcc_3.3.2.oe +++ b/gcc/gcc_3.3.2.oe @@ -115,7 +115,7 @@ do_install () { mkdir -p ${D}/lib mv -f ${D}/${libdir}/libgcc_s.so.* ${D}/lib rm -f ${D}/${libdir}/libgcc_s.so - ln -s `echo ${libdir}/gcc-lib/${TARGET_SYS}/${PV} | tr -s / | + ln -sf `echo ${libdir}/gcc-lib/${TARGET_SYS}/${PV} | tr -s / | sed -e 's,^/,,' -e 's,[^/]*,..,g'`/lib/libgcc_s.so.? \ ${D}/${libdir}/gcc-lib/${TARGET_SYS}/${PV}/libgcc_s.so @@ -141,8 +141,8 @@ do_install () { rm -f ${TARGET_ARCH}-*${TARGET_ARCH}-* # Symlinks so we can use these trivially on the target - ln -s ${TARGET_SYS}-g++ g++ - ln -s ${TARGET_SYS}-gcc gcc - ln -s g++ c++ - ln -s gcc cc + ln -sf ${TARGET_SYS}-g++ g++ + ln -sf ${TARGET_SYS}-gcc gcc + ln -sf g++ c++ + ln -sf gcc cc } |