summaryrefslogtreecommitdiff
path: root/lib/libutil/Makefile
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 /lib/libutil/Makefile
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 'lib/libutil/Makefile')
-rw-r--r--lib/libutil/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libutil/Makefile b/lib/libutil/Makefile
index 1860e5cd883..fddcc52eeb4 100644
--- a/lib/libutil/Makefile
+++ b/lib/libutil/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.86 2023/03/28 14:44:34 rillig Exp $
+# $NetBSD: Makefile,v 1.87 2023/06/03 09:09:11 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/4/93
USE_SHLIBDIR= yes
@@ -40,8 +40,8 @@ CPPFLAGS.sockaddr_snprintf.c+=-DHAVE_NETATALK_AT_H
CPPFLAGS.sockaddr_snprintf.c+=-DHAVE_NET_IF_DL_H
LINTFLAGS.if_media.c+= -X 351 # 'extern' declaration outside header
-COPTS.logwtmp.c+= ${GCC_NO_STRINGOP_TRUNCATION}
-COPTS.logwtmpx.c+= ${GCC_NO_STRINGOP_TRUNCATION}
+COPTS.logwtmp.c+= ${CC_WNO_STRINGOP_TRUNCATION}
+COPTS.logwtmpx.c+= ${CC_WNO_STRINGOP_TRUNCATION}
YPREFIX=__pd
.PATH: ${NETBSDSRCDIR}/lib/libc/gen