summaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2019-09-29 23:44:58 +0000
committermrg <mrg@NetBSD.org>2019-09-29 23:44:58 +0000
commit1569c011b51d28c2f219bbdf7281fefeeea0891c (patch)
tree2125d7503b81db3a434346b57a987a80efbb25a2 /sys/modules
parentae69ca9eb73a1079739da2f83bad6e93d123c746 (diff)
convert HAVE_GCC == 7 to HAVE_GCC >= 7.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/ath_hal/Makefile4
-rw-r--r--sys/modules/i915drmkms/Makefile4
-rw-r--r--sys/modules/pf/Makefile4
-rw-r--r--sys/modules/radeondrm/Makefile4
-rw-r--r--sys/modules/savagedrm/Makefile4
-rw-r--r--sys/modules/viadrmums/Makefile4
-rw-r--r--sys/modules/zlib/Makefile4
7 files changed, 14 insertions, 14 deletions
diff --git a/sys/modules/ath_hal/Makefile b/sys/modules/ath_hal/Makefile
index 0cdc03af2ca..c0717ae0610 100644
--- a/sys/modules/ath_hal/Makefile
+++ b/sys/modules/ath_hal/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2019/02/04 08:36:43 mrg Exp $
+# $NetBSD: Makefile,v 1.6 2019/09/29 23:44:59 mrg Exp $
.include "../Makefile.inc"
@@ -96,7 +96,7 @@ SRCS+= ar2133.c \
.include "Makefile.inc"
-.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
+.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
COPTS.ar5212_xmit.c+= -Wno-error=implicit-fallthrough
COPTS.ar5416_xmit.c+= -Wno-error=implicit-fallthrough
.endif
diff --git a/sys/modules/i915drmkms/Makefile b/sys/modules/i915drmkms/Makefile
index c1af8a00879..3fb1abae543 100644
--- a/sys/modules/i915drmkms/Makefile
+++ b/sys/modules/i915drmkms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2019/02/17 04:05:50 rin Exp $
+# $NetBSD: Makefile,v 1.14 2019/09/29 23:45:00 mrg Exp $
.include "../Makefile.inc"
.include "../drmkms/Makefile.inc"
@@ -114,7 +114,7 @@ SRCS+= intel_uncore.c
WARNS= 3
-.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
+.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
COPTS.intel_display.c+= -Wno-error=implicit-fallthrough
COPTS.intel_ddi.c+= -Wno-error=implicit-fallthrough
COPTS.intel_sdvo.c+= -Wno-error=implicit-fallthrough
diff --git a/sys/modules/pf/Makefile b/sys/modules/pf/Makefile
index 3367de2873b..005f6206b28 100644
--- a/sys/modules/pf/Makefile
+++ b/sys/modules/pf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2019/02/17 04:05:56 rin Exp $
+# $NetBSD: Makefile,v 1.12 2019/09/29 23:45:00 mrg Exp $
.include "../Makefile.inc"
@@ -22,7 +22,7 @@ CPPFLAGS+= -I${S}/dist/pf -I${S} -DINET6 -DINET
WARNS= 3
-.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
+.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
COPTS.pf.c+= -Wno-error=implicit-fallthrough
.endif
diff --git a/sys/modules/radeondrm/Makefile b/sys/modules/radeondrm/Makefile
index e1d165f4e7e..01a3760252e 100644
--- a/sys/modules/radeondrm/Makefile
+++ b/sys/modules/radeondrm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2019/02/17 04:05:57 rin Exp $
+# $NetBSD: Makefile,v 1.13 2019/09/29 23:45:00 mrg Exp $
.include "../Makefile.inc"
@@ -23,7 +23,7 @@ CPPFLAGS+= -I${S}/external/bsd/drm/dist/bsd-core \
WARNS= 3
-.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
+.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
COPTS.radeon_cs.c+= -Wno-error=implicit-fallthrough
.endif
diff --git a/sys/modules/savagedrm/Makefile b/sys/modules/savagedrm/Makefile
index 299806e8e57..998b5123097 100644
--- a/sys/modules/savagedrm/Makefile
+++ b/sys/modules/savagedrm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2019/02/17 04:05:57 rin Exp $
+# $NetBSD: Makefile,v 1.4 2019/09/29 23:45:00 mrg Exp $
.include "../Makefile.inc"
@@ -17,7 +17,7 @@ CPPFLAGS+= -I${S}/external/bsd/drm/dist/bsd-core \
WARNS= 3
-.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
+.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
COPTS.savage_state.c+= -Wno-error=implicit-fallthrough
.endif
diff --git a/sys/modules/viadrmums/Makefile b/sys/modules/viadrmums/Makefile
index ecb55103735..22ed8ce1073 100644
--- a/sys/modules/viadrmums/Makefile
+++ b/sys/modules/viadrmums/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2019/02/17 04:06:00 rin Exp $
+# $NetBSD: Makefile,v 1.4 2019/09/29 23:45:00 mrg Exp $
.include "../Makefile.inc"
.include "../drmkms/Makefile.inc"
@@ -29,7 +29,7 @@ SRCS+= via_pci.c
WARNS= 3
-.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
+.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
COPTS.via_dmablit.c+= -Wno-error=implicit-fallthrough
.endif
diff --git a/sys/modules/zlib/Makefile b/sys/modules/zlib/Makefile
index 533abb7416a..c721d9f764e 100644
--- a/sys/modules/zlib/Makefile
+++ b/sys/modules/zlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2019/02/17 04:06:01 rin Exp $
+# $NetBSD: Makefile,v 1.4 2019/09/29 23:45:00 mrg Exp $
.include "../Makefile.inc"
@@ -9,7 +9,7 @@ SRCS= zlib.c
WARNS= 3
-.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
+.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
COPTS.zlib.c+= -Wno-error=implicit-fallthrough
.endif