Module Name:    src
Committed By:   joerg
Date:           Sat Aug 20 20:19:08 UTC 2016

Modified Files:
        src/external/mit/xorg/lib/libdrm: Makefile

Log Message:
Don't bail out on #warning for clang either.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/mit/xorg/lib/libdrm/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/mit/xorg/lib/libdrm/Makefile
diff -u src/external/mit/xorg/lib/libdrm/Makefile:1.13 src/external/mit/xorg/lib/libdrm/Makefile:1.14
--- src/external/mit/xorg/lib/libdrm/Makefile:1.13	Sat Aug 20 06:49:21 2016
+++ src/external/mit/xorg/lib/libdrm/Makefile	Sat Aug 20 20:19:08 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.13 2016/08/20 06:49:21 mrg Exp $
+#	$NetBSD: Makefile,v 1.14 2016/08/20 20:19:08 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -18,6 +18,7 @@ PKGCONFIG=	libdrm
 PKGDIST=	${LIB}
 
 COPTS.xf86drm.c+=	${${ACTIVE_CC} == "gcc":? -Wno-error=cpp :}
+COPTS.xf86drm.c+=	${${ACTIVE_CC} == "clang":? -Wno-error=\#warnings :}
 
 CWARNFLAGS.clang+=	-Wno-conversion -Wno-tautological-compare
 

Reply via email to