浏览代码

avoid exit when rm fails

Waldemar Brodkorb 15 年之前
父节点
当前提交
cc25a98b2c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      toolchain/gcc/Makefile

+ 1 - 1
toolchain/gcc/Makefile

@@ -130,7 +130,7 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
 	PATH=$(TARGET_PATH) \
 	$(MAKE) -C $(GCC_BUILD_DIR_FINAL) install
 	# workaround if you cross-compile binutils
-	rm $(STAGING_DIR)/lib/libiberty.a
+	@-rm $(STAGING_DIR)/lib/libiberty.a
 	# Set up the symlinks to enable lying about target name.
 	set -e; \
 	(cd $(STAGING_TOOLS); \