[openwrt/openwrt] toolchain/gdb: fix compilation with ccache

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 17 22:15:01 BST 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/fc093c3f9cce80ea60e3752f6629f999ec186765

commit fc093c3f9cce80ea60e3752f6629f999ec186765
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Sun Apr 4 18:32:30 2021 -0700

    toolchain/gdb: 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.
    
    Same fix as 6e23813c1ed7494a9da3b5e59cfcafd71097c420
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 toolchain/gdb/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile
index 3bcc9d1238..05e3c7de3c 100644
--- a/toolchain/gdb/Makefile
+++ b/toolchain/gdb/Makefile
@@ -22,6 +22,7 @@ HOST_BUILD_PARALLEL:=1
 include $(INCLUDE_DIR)/toolchain-build.mk
 
 HOST_CONFIGURE_VARS += \
+	acx_cv_cc_gcc_supports_ada=false \
 	gdb_cv_func_sigsetjmp=yes
 
 HOST_CONFIGURE_ARGS = \



More information about the lede-commits mailing list