Browse Source

- don't try to strip the gccbug script

Bernhard Reutner-Fischer 18 năm trước cách đây
mục cha
commit
ac9348ac6d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      toolchain/gcc/gcc-uclibc-4.x.mk

+ 1 - 1
toolchain/gcc/gcc-uclibc-4.x.mk

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