summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 49e035800..9aed107a2 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -317,6 +317,8 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
touch $@
$(WRKBUILD)/.final:
+ # remove any libiberty.a, breaking package/binutils later
+ -rm $(STAGING_TARGET_DIR)/usr/lib/libiberty.a
# cleanup unneeded docs
rm -rf $(TOOLCHAIN_DIR)/usr/share
# cleanup unneeded libtool files