gdb: fix build errors with gcc 10

Fixes #4139
This commit is contained in:
Christian Prochaska 2021-05-06 11:57:27 +02:00 committed by Christian Helmuth
parent a4115cfea9
commit ff160decec
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,8 @@
PKG_DIR = $(call select_from_ports,gdb)/src/noux-pkg/gdb
CONFIGURE_ARGS += --program-prefix=$(PROGRAM_PREFIX) \
--target=$(GDB_TARGET)
--target=$(GDB_TARGET) \
--disable-sim
# the configure script calls the linker with "-lexpat", which fails
CONFIGURE_ARGS += --without-expat

View File

@ -270,7 +270,7 @@ BINUTILS_CONFIG += $(BINUTILS_CONFIG_$(PLATFORM))
#
# GDB configure arguments
#
GDB_CONFIG += $(COMMON_CONFIG) --disable-werror
GDB_CONFIG += $(COMMON_CONFIG) --disable-werror --disable-sim
GCC_CONFIG += $(COMMON_CONFIG) \
--enable-languages=$(LANGUAGES),go \