summaryrefslogtreecommitdiff
path: root/usr.bin/stat/Makefile
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 /usr.bin/stat/Makefile
parentae69ca9eb73a1079739da2f83bad6e93d123c746 (diff)
convert HAVE_GCC == 7 to HAVE_GCC >= 7.
Diffstat (limited to 'usr.bin/stat/Makefile')
-rw-r--r--usr.bin/stat/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/stat/Makefile b/usr.bin/stat/Makefile
index 47906e4511b..55c85abb799 100644
--- a/usr.bin/stat/Makefile
+++ b/usr.bin/stat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2019/02/04 10:03:16 mrg Exp $
+# $NetBSD: Makefile,v 1.11 2019/09/29 23:45:01 mrg Exp $
PROG= stat
@@ -10,7 +10,7 @@ MLINKS= stat.1 readlink.1
.include <bsd.own.mk>
# Has fallthru comment that is missed
-.if !defined(HOSTPROG) && defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
+.if !defined(HOSTPROG) && defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
COPTS.stat.c+= -Wno-error=implicit-fallthrough
.endif