summaryrefslogtreecommitdiff
path: root/usr.bin/mail
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2023-06-03 09:09:01 +0000
committerlukem <lukem@NetBSD.org>2023-06-03 09:09:01 +0000
commitff6601a6cc5f10bccaf009e4e2b72c75774d7a4d (patch)
tree87fe4eb9bda81296a5ed95f9cf55e1a2bf1ecd9a /usr.bin/mail
parentabaa8cb87058c08ad0688c849a28f4e007c07bbb (diff)
bsd.own.mk: rename GCC_NO_* to CC_WNO_*
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler. GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
Diffstat (limited to 'usr.bin/mail')
-rw-r--r--usr.bin/mail/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mail/Makefile b/usr.bin/mail/Makefile
index 68120c32c9a..c5b2fda5197 100644
--- a/usr.bin/mail/Makefile
+++ b/usr.bin/mail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2022/08/30 13:40:37 riastradh Exp $
+# $NetBSD: Makefile,v 1.42 2023/06/03 09:09:17 lukem Exp $
# @(#)Makefile 8.3 (Berkeley) 4/20/95
.include <bsd.own.mk>
@@ -78,7 +78,7 @@ FILESDIR_mail.rc= /etc
FILESMODE_mail.rc= 644
COPTS.format.c+= -Wno-format-nonliteral
-COPTS.fio.c+= ${GCC_NO_FORMAT_TRUNCATION}
+COPTS.fio.c+= ${CC_WNO_FORMAT_TRUNCATION}
.include <bsd.prog.mk>
.include <bsd.subdir.mk>