[oe-commits] org.oe.dev gcc-package-cross.inc: libg2c ins't always present, so don't error out if strip has a fit

koen commit openembedded-commits at lists.openembedded.org
Wed Oct 18 14:46:05 UTC 2006


gcc-package-cross.inc: libg2c ins't always present, so don't error out if strip has a fit

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 56cef8ae3fb871ea0976b2101ed9a1aed03270cd
ViewMTN: http://monotone.openembedded.org/revision.psp?id=56cef8ae3fb871ea0976b2101ed9a1aed03270cd
Files:
1
packages/gcc/gcc-package-cross.inc
Diffs:

#
# mt diff -r813a6226bbe8fb164af464547c21a703bbfccd22 -r56cef8ae3fb871ea0976b2101ed9a1aed03270cd
#
# 
# 
# patch "packages/gcc/gcc-package-cross.inc"
#  from [494f0a794b312688883d0f970f722db5c3abb3fe]
#    to [931c3b7e5dde55d964d8b16f796850bdf0d49b71]
# 
============================================================
--- packages/gcc/gcc-package-cross.inc	494f0a794b312688883d0f970f722db5c3abb3fe
+++ packages/gcc/gcc-package-cross.inc	931c3b7e5dde55d964d8b16f796850bdf0d49b71
@@ -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
 }






More information about the Openembedded-commits mailing list