From 65b0f823b24df786c4f4f0426de525222ac5a39b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 17 Jun 2008 13:33:02 +0000 Subject: [PATCH] toolchain/gcc: use $(STRIP_STRIP_UNNEEDED) --- toolchain/gcc/gcc-uclibc-3.x.mk | 4 ++-- toolchain/gcc/gcc-uclibc-4.x.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk index cc4bcadb21..f564181867 100644 --- a/toolchain/gcc/gcc-uclibc-3.x.mk +++ b/toolchain/gcc/gcc-uclibc-3.x.mk @@ -336,12 +336,12 @@ 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* + -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/lib/libgcc_s* endif ifeq ($(BR2_INSTALL_LIBSTDCPP),y) ifeq ($(BR2_GCC_SHARED_LIBGCC),y) -cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/ - -$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so* + -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libstdc++.so* endif endif ifeq ($(BR2_INSTALL_LIBGCJ),y) diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk index 819f2b20c8..cee9694667 100644 --- a/toolchain/gcc/gcc-uclibc-4.x.mk +++ b/toolchain/gcc/gcc-uclibc-4.x.mk @@ -349,13 +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* + -$(STRIPCMD) $(STRIP_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* + -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libstdc++.so* endif endif ifeq ($(BR2_INSTALL_LIBGCJ),y) -- 2.30.2