diff options
author | Chris Larson <clarson@kergoth.com> | 2004-04-28 21:26:31 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-04-28 21:26:31 +0000 |
commit | ab54f4f694b639372e8c02b71701858c5f3528ac (patch) | |
tree | 8b952a8a9b7e1f175475fb4401ffabc9b5013b1a /gcc/gcc_3.3.3.oe | |
parent | dd8a2eb9d86fd5ac3d2a5e810426cd434236fcba (diff) |
s/ln -s/ln -sf/ in the gcc OE files, to prevent silly unnecessary build failure.
BKrev: 40902187FgIOv-RU83M0-HatCCgCkA
Diffstat (limited to 'gcc/gcc_3.3.3.oe')
-rw-r--r-- | gcc/gcc_3.3.3.oe | 10 |
1 files changed, 5 insertions, 5 deletions
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 } |