diff options
Diffstat (limited to 'backgammon/common_source/Makefile')
-rw-r--r-- | backgammon/common_source/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backgammon/common_source/Makefile b/backgammon/common_source/Makefile index f77b337e..5daf9579 100644 --- a/backgammon/common_source/Makefile +++ b/backgammon/common_source/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2019/02/04 09:51:48 mrg Exp $ +# $NetBSD: Makefile,v 1.11 2019/09/29 23:44:59 mrg Exp $ LIBISPRIVATE= yes @@ -9,7 +9,7 @@ SRCS= allow.c board.c check.c fancy.c init.c odds.c \ .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.check.c+= -Wno-error=implicit-fallthrough .endif |