summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-10 07:42:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-10 07:43:04 +0100
commit08f07c80cd46b2d6495ebbfedd742255e9873d3b (patch)
tree6f7aff0a58e8e68f5f07ce8e953e03d09d1afd8a
parent96d6ad855914dffdb4dca6015b0e576629151208 (diff)
remove any libiberty library from staging directory
-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