diff options
| author | mrg <mrg@NetBSD.org> | 2019-09-29 23:44:58 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2019-09-29 23:44:58 +0000 |
| commit | 1569c011b51d28c2f219bbdf7281fefeeea0891c (patch) | |
| tree | 2125d7503b81db3a434346b57a987a80efbb25a2 /sys | |
| parent | ae69ca9eb73a1079739da2f83bad6e93d123c746 (diff) | |
convert HAVE_GCC == 7 to HAVE_GCC >= 7.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/lib/libkern/Makefile.compiler-rt | 4 | ||||
| -rw-r--r-- | sys/modules/ath_hal/Makefile | 4 | ||||
| -rw-r--r-- | sys/modules/i915drmkms/Makefile | 4 | ||||
| -rw-r--r-- | sys/modules/pf/Makefile | 4 | ||||
| -rw-r--r-- | sys/modules/radeondrm/Makefile | 4 | ||||
| -rw-r--r-- | sys/modules/savagedrm/Makefile | 4 | ||||
| -rw-r--r-- | sys/modules/viadrmums/Makefile | 4 | ||||
| -rw-r--r-- | sys/modules/zlib/Makefile | 4 | ||||
| -rw-r--r-- | sys/rump/kern/lib/libz/Makefile | 4 |
9 files changed, 18 insertions, 18 deletions
diff --git a/sys/lib/libkern/Makefile.compiler-rt b/sys/lib/libkern/Makefile.compiler-rt index b8d1a6f7827..b06d93bfa9c 100644 --- a/sys/lib/libkern/Makefile.compiler-rt +++ b/sys/lib/libkern/Makefile.compiler-rt @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.compiler-rt,v 1.9 2019/04/05 14:00:16 thorpej Exp $ +# $NetBSD: Makefile.compiler-rt,v 1.10 2019/09/29 23:44:59 mrg Exp $ COMPILER_RT_SRCDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist @@ -128,7 +128,7 @@ COPTS.${src}+= -Wno-missing-prototypes \ CPPFLAGS.int_util.c+= -DKERNEL_USE # XXX Explicit divide by zero in udivmoddi4.c -> abort(). -.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc" +.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc" . if ${MACHINE_CPU} != "arm" COPTS.udivmoddi4.c+= -fnon-call-exceptions . endif 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 diff --git a/sys/rump/kern/lib/libz/Makefile b/sys/rump/kern/lib/libz/Makefile index c99d874b875..7963f80e172 100644 --- a/sys/rump/kern/lib/libz/Makefile +++ b/sys/rump/kern/lib/libz/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2019/02/05 09:29:20 mrg Exp $ +# $NetBSD: Makefile,v 1.4 2019/09/29 23:45:00 mrg Exp $ # # zlib.c is logically in sys/net @@ -12,6 +12,6 @@ SRCS= zlib.c .include <bsd.lib.mk> .include <bsd.klinks.mk> -.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 |
