]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - hunt/huntd/Makefile
convert HAVE_GCC == 7 to HAVE_GCC >= 7.
[bsdgames-darwin.git] / hunt / huntd / Makefile
index 131b7696468d942770ce0e4c32c422333db004c1..9bce5e39bb023d9235045f07f34095eb6ba78cdf 100644 (file)
@@ -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