summaryrefslogtreecommitdiffstats
path: root/hunt
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
commit7175df1928b975fdbf6d5177ee2708542d4c3a27 (patch)
tree9bb44bade5bb9f2953eeca6895dfba5db2986bd1 /hunt
parenta93d0896a083bf1b7b91f798d53ccea87162d16a (diff)
downloadbsdgames-darwin-7175df1928b975fdbf6d5177ee2708542d4c3a27.tar.gz
bsdgames-darwin-7175df1928b975fdbf6d5177ee2708542d4c3a27.tar.zst
bsdgames-darwin-7175df1928b975fdbf6d5177ee2708542d4c3a27.zip
convert HAVE_GCC == 7 to HAVE_GCC >= 7.
Diffstat (limited to 'hunt')
-rw-r--r--hunt/huntd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/hunt/huntd/Makefile b/hunt/huntd/Makefile
index 131b7696..9bce5e39 100644
--- a/hunt/huntd/Makefile
+++ b/hunt/huntd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2019/02/04 09:51:48 mrg Exp $
+# $NetBSD: Makefile,v 1.8 2019/09/29 23:44:59 mrg Exp $
PROG= huntd
SRCS= answer.c draw.c driver.c execute.c expl.c \
@@ -10,7 +10,7 @@ CPPFLAGS+=-I${.CURDIR}/../include
.include <bsd.own.mk>
# Has fallthru comment that is missed
-.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
+.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
COPTS.shots.c+= -Wno-error=implicit-fallthrough
.endif