From: Bernhard Reutner-Fischer Date: Sat, 1 Sep 2007 17:11:24 +0000 (-0000) Subject: - don't try to strip the gccbug script X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac9348ac6d03230aba945138f926cfcb42361bc4;p=buildroot.git - don't try to strip the gccbug script --- diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk index 1a3f80aade..2fad23fd71 100644 --- a/toolchain/gcc/gcc-uclibc-4.x.mk +++ b/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 # 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'.