[openwrt/openwrt] binutils: fix compilation with ccache
LEDE Commits
lede-commits at lists.infradead.org
Fri Mar 19 00:25:47 GMT 2021
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/6e23813c1ed7494a9da3b5e59cfcafd71097c420
commit 6e23813c1ed7494a9da3b5e59cfcafd71097c420
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Sat Mar 6 14:17:45 2021 -0800
binutils: fix compilation with ccache
For some reason, one of the configure checks results in some infinite
loop and ends up spawning endless gcc processes, causing OOM. Just pass
a configure var to avoid it.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
toolchain/binutils/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index da86794480..65d9925f9a 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -63,6 +63,9 @@ ifneq ($(CONFIG_EXTRA_TARGET_ARCH),)
--enable-targets=$(call qstrip,$(CONFIG_EXTRA_TARGET_ARCH_NAME))-linux-$(TARGET_SUFFIX)
endif
+HOST_CONFIGURE_VARS += \
+ acx_cv_cc_gcc_supports_ada=false
+
define Host/Prepare
$(call Host/Prepare/Default)
ln -snf $(notdir $(HOST_BUILD_DIR)) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
More information about the lede-commits
mailing list