Skip to contentSkip to conversation

svn commit: trunk/buildroot/toolchain/gcc

Buildroot jacmet at uclibc.org 1 participant 1 message Jun 17, 2008

lore
Share & tools
lore
#0 lore raw

Author: jacmet
Date: 2008-06-17 06:28:37 -0700 (Tue, 17 Jun 2008) New Revision: 22400

Log:
toolchain/gcc-4.x: strip cross libgcc / libstdc++

Modified:
trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk

Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================

buildroot/toolchain/gcc/gcc-uclibc-4.x.mk +2 -0
@@ -349,11 +349,13 @@
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
 		$(TARGET_DIR)/lib/
+	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* \
 		$(TARGET_DIR)/usr/lib/
+	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)