diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-06-17 13:28:37 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-06-17 13:28:37 +0000 |
commit | e1c7bea59c6b5095c1c6cc4b0d9fa7cd67071675 (patch) | |
tree | 9d1d8983d4cec4402dab4b34cc72e9ab03c7d0c9 /toolchain/gcc/gcc-uclibc-4.x.mk | |
parent | 759e150633f9718bd87c84bacdadc62e22ce8817 (diff) | |
download | buildroot-novena-e1c7bea59c6b5095c1c6cc4b0d9fa7cd67071675.tar.gz buildroot-novena-e1c7bea59c6b5095c1c6cc4b0d9fa7cd67071675.zip |
toolchain/gcc-4.x: strip cross libgcc / libstdc++
Diffstat (limited to 'toolchain/gcc/gcc-uclibc-4.x.mk')
-rw-r--r-- | toolchain/gcc/gcc-uclibc-4.x.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk index 5365cdff1..819f2b20c 100644 --- a/toolchain/gcc/gcc-uclibc-4.x.mk +++ b/toolchain/gcc/gcc-uclibc-4.x.mk @@ -349,11 +349,13 @@ ifeq ($(BR2_GCC_SHARED_LIBGCC),y) 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) |