Module Name:    src
Committed By:   joerg
Date:           Tue Feb 28 22:07:54 UTC 2012

Modified Files:
        src/external/gpl3/gdb/lib/libgdb: Makefile

Log Message:
gdb likes to mix different enum types in switches, so disable the check
for clang.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gdb/lib/libgdb/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gdb/lib/libgdb/Makefile
diff -u src/external/gpl3/gdb/lib/libgdb/Makefile:1.2 src/external/gpl3/gdb/lib/libgdb/Makefile:1.3
--- src/external/gpl3/gdb/lib/libgdb/Makefile:1.2	Mon Sep 26 14:31:25 2011
+++ src/external/gpl3/gdb/lib/libgdb/Makefile	Tue Feb 28 22:07:54 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2011/09/26 14:31:25 christos Exp $
+#	$NetBSD: Makefile,v 1.3 2012/02/28 22:07:54 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -35,6 +35,8 @@ CPPFLAGS+=	-I${.CURDIR} \
 # code that's never exercised on NetBSD.
 CPPFLAGS.inf-ptrace.c=	-Wno-error
 
+CWARNFLAGS.clang+=	-Wno-switch
+
 .include "../../Makefile.inc"
 .include <bsd.lib.mk>
 

Reply via email to