gdb: prevent use of host libgmp in configure test

Fixes #5173
This commit is contained in:
Christian Prochaska 2024-04-09 09:15:42 +02:00 committed by Christian Helmuth
parent fd60e5a8b2
commit 039a851003

View File

@ -7,6 +7,10 @@ CONFIGURE_ARGS += --program-prefix=$(PROGRAM_PREFIX) \
# the configure script calls the linker with "-lexpat", which fails
CONFIGURE_ARGS += --without-expat
CPPFLAGS += -DHAVE_LIBEXPAT=1
# prevent use of host libgmp in configure test
CONFIGURE_ARGS += --without-libgmp-prefix
CFLAGS += -Wno-error=sizeof-pointer-memaccess \
-Wno-error=unused-value \
-Wno-error=overflow