summaryrefslogtreecommitdiff
path: root/gcc/gcc-cross_3.4.0.oe
diff options
context:
space:
mode:
authorGerald Britton <gbritton@doomcom.org>2004-05-03 15:07:19 +0000
committerGerald Britton <gbritton@doomcom.org>2004-05-03 15:07:19 +0000
commit5428c35c8a6560f320692c84816c860cb07ecb74 (patch)
tree37713fe6245316d045857dfee3fcda1a8c6836a6 /gcc/gcc-cross_3.4.0.oe
parentaa582477c591303dd1d29cca413d405ba45e4a6a (diff)
inhibit bad strip calls in gcc-*cross lib packaging
BKrev: 40966027g3ULeMH5YQMa_vW8R6WPNg
Diffstat (limited to 'gcc/gcc-cross_3.4.0.oe')
-rw-r--r--gcc/gcc-cross_3.4.0.oe7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/gcc-cross_3.4.0.oe b/gcc/gcc-cross_3.4.0.oe
index 11e30117f0..5df5ec6aca 100644
--- a/gcc/gcc-cross_3.4.0.oe
+++ b/gcc/gcc-cross_3.4.0.oe
@@ -7,6 +7,7 @@ PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
# Files for these are defined in the main gcc.oe
PACKAGES = "libgcc libstdc++ libg2c"
+INHIBIT_PACKAGE_STRIP = 1
EXTRA_OECONF = "--with-local-prefix=${CROSS_DIR}/${TARGET_SYS} \
--with-gxx-include-dir=${CROSS_DIR}/${TARGET_SYS}/include/c++ \
@@ -90,5 +91,11 @@ do_install () {
mkdir -p ${D}/${TGT_LIBDIR}
mv -f ${D}/${prefix}/*/lib/libstdc++.so.* ${D}/${TGT_LIBDIR}
mv -f ${D}/${prefix}/*/lib/libg2c.so.* ${D}/${TGT_LIBDIR}
+
+ # Manually run the target stripper since we won't get it run by
+ # the packaging.
+ ${TARGET_PREFIX}strip ${D}/${TGT_LIBDIR}/libstdc++.so.*
+ ${TARGET_PREFIX}strip ${D}/${TGT_LIBDIR}/libg2c.so.*
+ ${TARGET_PREFIX}strip ${D}/libgcc_s.so.*
}