summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2007-05-15 13:58:35 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2007-05-15 13:58:35 +0000
commit77c982494d74e7ad0e5fe3d91eeafeec7b62fc46 (patch)
treebe14e3838fd8ccaae0b5b584e8af189f2d7a37d7
parentb7d87dd962de1c4e64bb8e1bc4ecac5494efa645 (diff)
Strip libraries
-rw-r--r--toolchain/gcc/gcc-uclibc-3.x.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk
index defe923b1..1d20af810 100644
--- a/toolchain/gcc/gcc-uclibc-3.x.mk
+++ b/toolchain/gcc/gcc-uclibc-3.x.mk
@@ -292,9 +292,11 @@ ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
# These are in /lib, so...
rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
-cp -dpf $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
+ $(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
endif
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/lib/
+ $(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libstc++.so*
endif
ifeq ($(BR2_INSTALL_LIBGCJ),y)
-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/