Skip to contentSkip to conversation

svn commit: trunk/buildroot/toolchain/gcc

Buildroot aldot at uclibc.org 1 participant 1 message Sep 1, 2007

lore
Share & tools
lore
#0 lore raw

Author: aldot
Date: 2007-09-01 10:11:24 -0700 (Sat, 01 Sep 2007) New Revision: 19750

Log:
- don't try to strip the gccbug script

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 +1 -1
@@ -291,7 +291,7 @@
 		$(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-gccbug
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*
+	strip --strip-all -R .note -R .comment $(filter-out -gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
 	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/faked
 endif
 	# Make sure we have 'cc'.