Skip to contentSkip to conversation

svn commit: trunk/buildroot/toolchain/gcc

Buildroot jacmet at uclibc.org 2 participants 3 messages Jun 17, 2008

lore
Share & tools
lore
#0 lore raw

Author: jacmet
Date: 2008-06-17 05:54:36 -0700 (Tue, 17 Jun 2008) New Revision: 22399

Log:
toolchain/gcc-3.x: strip cross libgcc / libstdc++ with cross-strip, not host.

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

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

buildroot/toolchain/gcc/gcc-uclibc-3.x.mk +2 -2
@@ -336,12 +336,12 @@
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
 		$(TARGET_DIR)/lib/
-	-strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
+	-$(STRIPCMD) --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/
-	-strip --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
+	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
#1 lore raw
Quoted 1 line · jacmet at uclibc.org

Author: jacmet

<snipp>

buildroot/toolchain/gcc/gcc-uclibc-3.x.mk line 339

Quoted 2 lines
buildroot/toolchain/gcc/gcc-uclibc-3.x.mk +1 -1
-	-strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
+	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*

$(STRIP_STRIP_UNNEEDED) as well?

buildroot/toolchain/gcc/gcc-uclibc-3.x.mk line 344

Quoted 6 lines

endif
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
ifeq ($(BR2_GCC_SHARED_LIBGCC),y)

buildroot/toolchain/gcc/gcc-uclibc-3.x.mk +1 -1
 	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
-	-strip --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
+	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*

Same here.

<snipp>

Signature · 2 lines
With kind regards,
Hans-Christian Egtvedt, Applications Engineer
#2 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Hans-Christian" == Hans-Christian Egtvedt <[email protected]> writes:

Quoted 1 line · jacmet at uclibc.org
Quoted 1 line

Author: jacmet

Hans-Christian> <snipp>

Quoted 2 lines

buildroot/toolchain/gcc/gcc-uclibc-3.x.mk line 339

Quoted 2 lines
buildroot/toolchain/gcc/gcc-uclibc-3.x.mk +1 -1
-	-strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
+	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*

Hans-Christian> $(STRIP_STRIP_UNNEEDED) as well?

Done (r22402).

Signature · 1 line
Bye, Peter Korsgaard