From 08f07c80cd46b2d6495ebbfedd742255e9873d3b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 10 Dec 2015 07:42:49 +0100 Subject: remove any libiberty library from staging directory --- toolchain/gcc/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'toolchain') 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 -- cgit v1.2.3