Browse Source

remove any libiberty library from staging directory

Waldemar Brodkorb 9 years ago
parent
commit
08f07c80cd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      toolchain/gcc/Makefile

+ 2 - 0
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