Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/modules/viadrmums apply -Wno-error=implicit-fallthrough ...
details: https://anonhg.NetBSD.org/src/rev/130066aefac0
branches: trunk
changeset: 448516:130066aefac0
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Feb 04 09:58:23 2019 +0000
description:
apply -Wno-error=implicit-fallthrough to via_dmablit.c.
diffstat:
sys/modules/viadrmums/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 948bfa488373 -r 130066aefac0 sys/modules/viadrmums/Makefile
--- a/sys/modules/viadrmums/Makefile Mon Feb 04 09:57:39 2019 +0000
+++ b/sys/modules/viadrmums/Makefile Mon Feb 04 09:58:23 2019 +0000
@@ -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_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 <bsd.kmodule.mk>
Home |
Main Index |
Thread Index |
Old Index