summaryrefslogtreecommitdiff
path: root/gcc/gcc-cross_3.4.0.oe
diff options
context:
space:
mode:
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.*
}