Skip to content

Commit

Permalink
binutils: fix compilation with ccache
Browse files Browse the repository at this point in the history
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 <[email protected]>
neheb authored and hauke committed Mar 19, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent f65b0af commit 6e23813
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions toolchain/binutils/Makefile
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 6e23813

Please sign in to comment.