From c4fb88720eec0cbfd6ac2106e6c25ad35827000a Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sat, 20 Sep 2014 11:11:48 +0000
Subject: [PATCH] toolchain: remove another bogus copy of libiberty.a

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42624
---
 toolchain/gcc/final/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/toolchain/gcc/final/Makefile b/toolchain/gcc/final/Makefile
index 2c25263db1..3529616fd5 100644
--- a/toolchain/gcc/final/Makefile
+++ b/toolchain/gcc/final/Makefile
@@ -69,6 +69,7 @@ define Host/Install
 		done; \
 	);
 	$(if $(CONFIG_EXTRA_TARGET_ARCH),$(call SetupExtraArch))
+	$(RM) $(TOOLCHAIN_DIR)/lib/libiberty.a
 	$(SCRIPT_DIR)/patch-specs.sh "$(TOOLCHAIN_DIR)"
 endef
 
-- 
GitLab