Module Name:    src
Committed By:   mrg
Date:           Sat Apr 24 04:50:47 UTC 2021

Modified Files:
        src/distrib/utils/zcat: Makefile

Log Message:
use GCC_NO_IMPLICIT_FALLTHRU


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/distrib/utils/zcat/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/utils/zcat/Makefile
diff -u src/distrib/utils/zcat/Makefile:1.19 src/distrib/utils/zcat/Makefile:1.20
--- src/distrib/utils/zcat/Makefile:1.19	Sun Sep 29 23:44:58 2019
+++ src/distrib/utils/zcat/Makefile	Sat Apr 24 04:50:47 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2019/09/29 23:44:58 mrg Exp $
+# $NetBSD: Makefile,v 1.20 2021/04/24 04:50:47 mrg Exp $
 # Small zcat (i.e. for install media)
 #
 
@@ -26,9 +26,7 @@ CPPFLAGS+=	-I${LIBC}/include
 CPPFLAGS+=	-Dsnprintf=snprintf_ss -Dsprintf=sprintf_ss
 CPPFLAGS+=	-Dstrerror=strerror_ss
 
-.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
-COPTS.inflate.c+=	-Wno-error=implicit-fallthrough
-.endif
+COPTS.inflate.c+=	${GCC_NO_IMPLICIT_FALLTHRU}
 
 .include <bsd.prog.mk>
 

Reply via email to