diff options
author | Koen Kooi <koen@openembedded.org> | 2008-04-03 09:42:38 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-04-03 09:42:38 +0000 |
commit | b0d7d5e65d423e72ae5273d2dc7b8cc468540e92 (patch) | |
tree | 0dca13ff2a90ee2d8fbb7353526747a8bbe9c507 /packages | |
parent | 056b0247af30aa5e51c787f72be6a272026c1f6d (diff) |
gcc-package-target.inc: some vendor patched gccs don't have an libgcc_s.so, so don't error out if it's missing
Diffstat (limited to 'packages')
-rw-r--r-- | packages/gcc/gcc-package-target.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/gcc/gcc-package-target.inc b/packages/gcc/gcc-package-target.inc index 2c19c5ecc7..975aa88fe7 100644 --- a/packages/gcc/gcc-package-target.inc +++ b/packages/gcc/gcc-package-target.inc @@ -115,9 +115,9 @@ do_install () { if [ -f ${D}${libdir}/nof/libgcc_s.so ]; then mv ${D}${libdir}/nof/libgcc_s.so.* ${D}${base_libdir} else - mv ${D}${libdir}/libgcc_s.so.* ${D}${base_libdir} + mv ${D}${libdir}/libgcc_s.so.* ${D}${base_libdir} || true fi - rm -f ${D}${libdir}/libgcc_s.so + rm -f ${D}${libdir}/libgcc_s.so || true ln -sf `echo ${libdir}/gcc/${TARGET_SYS}/${BINV} \ | tr -s / \ | sed -e 's,^/,,' -e 's,[^/]*,..,g'`/lib/libgcc_s.so.1 \ |