Module Name:src
Committed By: mrg
Date: Mon Feb 4 09:58:23 UTC 2019
Modified Files:
src/sys/modules/viadrmums: Makefile
Log Message:
apply -Wno-error=implicit-fallthrough to via_dmablit.c.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/viadrmums/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/modules/viadrmums/Makefile
diff -u src/sys/modules/viadrmums/Makefile:1.1 src/sys/modules/viadrmums/Makefile:1.2
--- src/sys/modules/viadrmums/Makefile:1.1 Wed Apr 29 12:52:05 2015
+++ src/sys/modules/viadrmums/Makefile Mon Feb 4 09:58:23 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2015/04/29 12:52:05 riastradh Exp $
+# $NetBSD: Makefile,v 1.2 2019/02/04 09:58:23 mrg Exp $
.include "../Makefile.inc"
.include "../drmkms/Makefile.inc"
@@ -27,4 +27,8 @@ SRCS+= via_video.c
SRCS+= via_module.c
SRCS+= via_pci.c
+.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
+COPTS.via_dmablit.c+= -Wno-error=implicit-fallthrough
+.endif
+
.include