Skip to content

Commit

Permalink
gdb: prevent use of host libgmp in configure test
Browse files Browse the repository at this point in the history
Fixes #5173
  • Loading branch information
cproc committed Apr 9, 2024
1 parent 25f5597 commit 0a52c96
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions repos/ports/src/noux-pkg/gdb/target.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a52c96

Please sign in to comment.