diff options
| author | mrg <mrg@NetBSD.org> | 2019-09-29 23:44:58 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2019-09-29 23:44:58 +0000 |
| commit | 1569c011b51d28c2f219bbdf7281fefeeea0891c (patch) | |
| tree | 2125d7503b81db3a434346b57a987a80efbb25a2 /usr.bin | |
| parent | ae69ca9eb73a1079739da2f83bad6e93d123c746 (diff) | |
convert HAVE_GCC == 7 to HAVE_GCC >= 7.
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/make/Makefile | 4 | ||||
| -rw-r--r-- | usr.bin/newsyslog/Makefile | 4 | ||||
| -rw-r--r-- | usr.bin/rdist/Makefile | 4 | ||||
| -rw-r--r-- | usr.bin/stat/Makefile | 4 | ||||
| -rw-r--r-- | usr.bin/systat/Makefile | 4 | ||||
| -rw-r--r-- | usr.bin/telnet/Makefile | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/usr.bin/make/Makefile b/usr.bin/make/Makefile index 4f118ab31b5..76da29aa40e 100644 --- a/usr.bin/make/Makefile +++ b/usr.bin/make/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.61 2019/02/04 03:58:41 mrg Exp $ +# $NetBSD: Makefile,v 1.62 2019/09/29 23:45:01 mrg Exp $ # @(#)Makefile 5.2 (Berkeley) 12/28/90 PROG= make @@ -46,7 +46,7 @@ LDADD+=-lutil DPADD+=${LIBUTIL} .endif -.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc" +.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc" COPTS.arch.c += -Wno-error=format-truncation .endif diff --git a/usr.bin/newsyslog/Makefile b/usr.bin/newsyslog/Makefile index 02ecc92fdcb..d67c236d088 100644 --- a/usr.bin/newsyslog/Makefile +++ b/usr.bin/newsyslog/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2019/02/04 03:58:41 mrg Exp $ +# $NetBSD: Makefile,v 1.20 2019/09/29 23:45:01 mrg Exp $ PROG= newsyslog SRCS= newsyslog.c @@ -8,7 +8,7 @@ MLINKS+=newsyslog.8 newsyslog.conf.5 .include <bsd.own.mk> -.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc" +.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc" COPTS.newsyslog.c += -Wno-error=format-truncation .endif diff --git a/usr.bin/rdist/Makefile b/usr.bin/rdist/Makefile index 2929167d527..fe431cbbd7b 100644 --- a/usr.bin/rdist/Makefile +++ b/usr.bin/rdist/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2019/02/04 03:58:41 mrg Exp $ +# $NetBSD: Makefile,v 1.13 2019/09/29 23:45:01 mrg Exp $ # from: @(#)Makefile 8.3 (Berkeley) 7/19/93 USE_FORT?= yes # network client/server @@ -9,7 +9,7 @@ SRCS= docmd.c expand.c gram.y lookup.c main.c server.c .include <bsd.own.mk> -.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc" +.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc" COPTS.server.c += -Wno-error=format-truncation .endif 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 diff --git a/usr.bin/systat/Makefile b/usr.bin/systat/Makefile index 6fccd971839..d8aad6e3cfd 100644 --- a/usr.bin/systat/Makefile +++ b/usr.bin/systat/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.41 2019/02/04 03:58:41 mrg Exp $ +# $NetBSD: Makefile,v 1.42 2019/09/29 23:45:01 mrg Exp $ # @(#)Makefile 8.1 (Berkeley) 6/6/93 .include <bsd.own.mk> @@ -29,7 +29,7 @@ SRCS+= ip6.c .include "../../compat/exec.mk" -.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc" +.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc" COPTS.df.c += -Wno-error=format-truncation .endif diff --git a/usr.bin/telnet/Makefile b/usr.bin/telnet/Makefile index f5494cca947..b536323b3ee 100644 --- a/usr.bin/telnet/Makefile +++ b/usr.bin/telnet/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.57 2019/02/04 09:51:47 mrg Exp $ +# $NetBSD: Makefile,v 1.58 2019/09/29 23:45:01 mrg Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -78,7 +78,7 @@ COPTS.${f}.c+= -Wno-pointer-sign .endfor # 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.telnet.c+= -Wno-error=implicit-fallthrough .endif |
