Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/zcat use GCC_NO_IMPLICIT_FALLTHRU
details: https://anonhg.NetBSD.org/src/rev/9eacbfc39bc3
branches: trunk
changeset: 961512:9eacbfc39bc3
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Apr 24 04:50:47 2021 +0000
description:
use GCC_NO_IMPLICIT_FALLTHRU
diffstat:
distrib/utils/zcat/Makefile | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (20 lines):
diff -r c1f85822a5ce -r 9eacbfc39bc3 distrib/utils/zcat/Makefile
--- a/distrib/utils/zcat/Makefile Sat Apr 24 00:49:26 2021 +0000
+++ b/distrib/utils/zcat/Makefile Sat Apr 24 04:50:47 2021 +0000
@@ -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+= -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>
Home |
Main Index |
Thread Index |
Old Index