From ab54f4f694b639372e8c02b71701858c5f3528ac Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Wed, 28 Apr 2004 21:26:31 +0000 Subject: s/ln -s/ln -sf/ in the gcc OE files, to prevent silly unnecessary build failure. BKrev: 40902187FgIOv-RU83M0-HatCCgCkA --- gcc/gcc_3.3.3.oe | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gcc/gcc_3.3.3.oe') diff --git a/gcc/gcc_3.3.3.oe b/gcc/gcc_3.3.3.oe index d7f41c3807..52d7493810 100644 --- a/gcc/gcc_3.3.3.oe +++ b/gcc/gcc_3.3.3.oe @@ -140,7 +140,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 @@ -166,8 +166,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 } -- cgit v1.2.3