gcc-package-cross.inc: libg2c ins't always present, so don't error out if strip has...
authorKoen Kooi <koen@openembedded.org>
Wed, 18 Oct 2006 13:36:11 +0000 (13:36 +0000)
committerKoen Kooi <koen@openembedded.org>
Wed, 18 Oct 2006 13:36:11 +0000 (13:36 +0000)
packages/gcc/gcc-package-cross.inc

index ace8d01..71deca3 100644 (file)
@@ -74,7 +74,7 @@ do_install () {
        # the packaging.
        if [ "x${OLD_INHIBIT_PACKAGE_STRIP}" != "x1" ]; then
                ${TARGET_PREFIX}strip ${D}${target_libdir}/libstdc++.so.*
-               ${TARGET_PREFIX}strip ${D}${target_libdir}/libg2c.so.*
+               ${TARGET_PREFIX}strip ${D}${target_libdir}/libg2c.so.* || true
                ${TARGET_PREFIX}strip ${D}${target_base_libdir}/libgcc_s.so.*
        fi
 }