Apply patch, requested by riastradh in ticket #546:

tools/gdb/Makefile		(apply patch)

gdb: Fix MKCROSSGDB=yes build on gcc>=11, which raises several
warnings that are fatal because the development snapshot of gdb
that netbsd-10 is about to ship with sets -Werror.  This addresses
PR misc/57841.
This commit is contained in:
martin 2024-01-14 15:39:08 +00:00
parent 3b9bfdde54
commit af381bb8c6
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.40 2020/09/24 14:53:17 christos Exp $ # $NetBSD: Makefile,v 1.40.6.1 2024/01/14 15:39:08 martin Exp $
.include <bsd.hostinit.mk> .include <bsd.hostinit.mk>
@ -10,7 +10,7 @@ FIND_ARGS= \! \( -type d -name sim -prune \)
CONFIGURE_ARGS= --target=${MACHINE_GNU_PLATFORM} --disable-nls \ CONFIGURE_ARGS= --target=${MACHINE_GNU_PLATFORM} --disable-nls \
--program-transform-name="s,^,${MACHINE_GNU_PLATFORM}-," \ --program-transform-name="s,^,${MACHINE_GNU_PLATFORM}-," \
--without-mpfr --without-mpfr --disable-werror
MAKE_ARGS= MACHINE= MAKEINFO=${TOOL_MAKEINFO:Q} MAKE_ARGS= MACHINE= MAKEINFO=${TOOL_MAKEINFO:Q}