summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-12-30 12:45:51 +0000
committerKoen Kooi <koen@openembedded.org>2007-12-30 12:45:51 +0000
commitea0694a86d7e31981589aa3e9c8aed9bcb5e61a9 (patch)
treee108931cbc951185b0413bdc0d4983eed8ad6b62
parent8830ed9666982d578aaa6ed45dc963affd680ab3 (diff)
gcc-package.inc: fix the powerpc 'nof' problem for native gcc as well
-rw-r--r--packages/gcc/gcc-package.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/gcc/gcc-package.inc b/packages/gcc/gcc-package.inc
index 96f1604997..d1b4607de5 100644
--- a/packages/gcc/gcc-package.inc
+++ b/packages/gcc/gcc-package.inc
@@ -92,7 +92,11 @@ do_install () {
# Move libgcc_s into /lib
mkdir -p ${D}${base_libdir}
- mv ${D}${libdir}/libgcc_s.so.* ${D}${base_libdir}
+ 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}
+ fi
rm -f ${D}${libdir}/libgcc_s.so
ln -sf `echo ${libdir}/gcc/${TARGET_SYS}/${BINV} \
| tr -s / \