gcc-package-cross: tolerate absence of libstdc++
authorPhil Blundell <philb@gnu.org>
Wed, 10 Jun 2009 12:37:55 +0000 (13:37 +0100)
committerPhil Blundell <philb@gnu.org>
Wed, 10 Jun 2009 12:37:55 +0000 (13:37 +0100)
recipes/gcc/gcc-package-cross.inc

index 77da3fe..fa1f47f 100644 (file)
@@ -56,7 +56,7 @@ do_install () {
        # Manually run the target stripper since we won't get it run by
        # the packaging.
        if [ "x${OLD_INHIBIT_PACKAGE_STRIP}" != "x1" ]; then
-               ${TARGET_PREFIX}strip ${D}${target_libdir}/libstdc++.so.*
+               ${TARGET_PREFIX}strip ${D}${target_libdir}/libstdc++.so.* || true
                ${TARGET_PREFIX}strip ${D}${target_libdir}/libg2c.so.* || true
                ${TARGET_PREFIX}strip ${D}${target_base_libdir}/libgcc_s.so.* || true
                ${TARGET_PREFIX}strip ${D}${target_libdir}/libgfortran*.so* || true