diff --git a/repos/ports/src/noux-pkg/gdb/target.inc b/repos/ports/src/noux-pkg/gdb/target.inc index 93d1985db3..d0ef6b8330 100644 --- a/repos/ports/src/noux-pkg/gdb/target.inc +++ b/repos/ports/src/noux-pkg/gdb/target.inc @@ -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