summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2009-06-10 13:37:55 +0100
committerPhil Blundell <philb@gnu.org>2009-06-10 13:37:55 +0100
commit7bde76df2e108a7ab597691cdb47b26fecc10cae (patch)
tree317d60bd0ed3b1e67ab6e2693f9297bf97f57444
parent77ae409e00a4ae61404a74e04e548aeec1e90a8f (diff)
gcc-package-cross: tolerate absence of libstdc++
-rw-r--r--recipes/gcc/gcc-package-cross.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/gcc/gcc-package-cross.inc b/recipes/gcc/gcc-package-cross.inc
index 77da3fe3fa..fa1f47f51a 100644
--- a/recipes/gcc/gcc-package-cross.inc
+++ b/recipes/gcc/gcc-package-cross.inc
@@ -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