Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb/bin/gdbserver gdbserver(1): Work around cl...
details: https://anonhg.NetBSD.org/src/rev/b944fb85dbf8
branches: trunk
changeset: 1021834:b944fb85dbf8
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Jun 20 12:29:58 2021 +0000
description:
gdbserver(1): Work around clang build failure.
diffstat:
external/gpl3/gdb/bin/gdbserver/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 495e2fff959b -r b944fb85dbf8 external/gpl3/gdb/bin/gdbserver/Makefile
--- a/external/gpl3/gdb/bin/gdbserver/Makefile Sun Jun 20 12:01:07 2021 +0000
+++ b/external/gpl3/gdb/bin/gdbserver/Makefile Sun Jun 20 12:29:58 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2020/09/24 14:53:35 christos Exp $
+# $NetBSD: Makefile,v 1.4 2021/06/20 12:29:58 riastradh Exp $
NOCTF=
NOMAN=
@@ -30,6 +30,9 @@
-I${DIST}/include \
${GCPPFLAGS:M-D*}
+# /usr/src/current/external/gpl3/gdb/bin/gdbserver/../../dist/gdb/nat/fork-inferior.c:497:15: error: 6 enumeration values not handled in switch: 'TARGET_WAITKIND_VFORK_DONE',
'TARGET_WAITKIND_IGNORE', 'TARGET_WAITKIND_NO_HISTORY'... [-Werror,-Wswitch]
+CXXFLAGS+= ${${ACTIVE_CC} == "clang":? -Wno-error=switch : }
+
.include "../../Makefile.inc"
.include <bsd.info.mk>
Home |
Main Index |
Thread Index |
Old Index