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

LEDE Commits lede-commits at lists.infradead.org
Sun Apr 18 13:15:22 BST 2021


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/09a23b9261f86e6d82c5b3cf55060a7ece997c15

commit 09a23b9261f86e6d82c5b3cf55060a7ece997c15
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>
    (cherry picked from commit fc093c3f9cce80ea60e3752f6629f999ec186765)
---
 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