From 4de60e41c3487946712da6d889ef89d325c2032a Mon Sep 17 00:00:00 2001 From: Bartosz Bilas Date: Fri, 11 Aug 2023 11:34:21 +0200 Subject: [PATCH] package/gdb: disable source-highlight The dependency is not provided by Buildroot, and it can potentially be found by gdb's build system from the host system, which results in the following build errors: ../../gdb/source-cache.c:37:10: fatal error: srchilite/sourcehighlight.h: No such file or directory 37 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:1645: source-cache.o] Error 1 make[4]: *** Waiting for unfinished jobs.... Signed-off-by: Bartosz Bilas Signed-off-by: Thomas Petazzoni --- package/gdb/gdb.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk index 4b9c5c6b70..cee7b37bcd 100644 --- a/package/gdb/gdb.mk +++ b/package/gdb/gdb.mk @@ -134,7 +134,8 @@ GDB_CONF_OPTS = \ --with-system-zlib \ --disable-werror \ --enable-static \ - --without-mpfr + --without-mpfr \ + --disable-source-highlight ifeq ($(BR2_PACKAGE_GDB_DEBUGGER),y) GDB_CONF_OPTS += \