Module Name: src
Committed By: martin
Date: Sun Jan 14 15:39:08 UTC 2024
Modified Files:
src/tools/gdb [netbsd-10]: Makefile
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.40.6.1 src/tools/gdb/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/gdb/Makefile
diff -u src/tools/gdb/Makefile:1.40 src/tools/gdb/Makefile:1.40.6.1
--- src/tools/gdb/Makefile:1.40 Thu Sep 24 14:53:17 2020
+++ src/tools/gdb/Makefile Sun Jan 14 15:39:08 2024
@@ -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>
@@ -10,7 +10,7 @@ FIND_ARGS= \! \( -type d -name sim -prun
CONFIGURE_ARGS= --target=${MACHINE_GNU_PLATFORM} --disable-nls \
--program-transform-name="s,^,${MACHINE_GNU_PLATFORM}-," \
- --without-mpfr
+ --without-mpfr --disable-werror
MAKE_ARGS= MACHINE= MAKEINFO=${TOOL_MAKEINFO:Q}