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 <srchilite/sourcehighlight.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:1645: source-cache.o] Error 1
make[4]: *** Waiting for unfinished jobs....

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
master
Bartosz Bilas 2023-08-11 11:34:21 +02:00 committed by Thomas Petazzoni
parent ff6d6c79d3
commit 4de60e41c3
1 changed files with 2 additions and 1 deletions

View File

@ -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 += \