summaryrefslogtreecommitdiff
path: root/usr.sbin/rpcbind
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.sbin/rpcbind
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.sbin/rpcbind')
-rw-r--r--usr.sbin/rpcbind/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/rpcbind/Makefile b/usr.sbin/rpcbind/Makefile
index eb7929d392f..1158ea707ca 100644
--- a/usr.sbin/rpcbind/Makefile
+++ b/usr.sbin/rpcbind/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2021/03/07 00:23:06 christos Exp $
+# $NetBSD: Makefile,v 1.18 2023/06/03 09:09:23 lukem Exp $
.include <bsd.own.mk>
@@ -30,10 +30,10 @@ CPPFLAGS+= -DYP
LDADD+= -lwrap -lblocklist -lutil
DPADD+= ${LIBWRAP} ${LIBBLOCKLIST} ${LIBUTIL}
-COPTS.rpcb_svc_4.c+= ${GCC_NO_CAST_FUNCTION_TYPE}
-COPTS.pmap_svc.c+= ${GCC_NO_CAST_FUNCTION_TYPE}
-COPTS.rpcb_svc.c+= ${GCC_NO_CAST_FUNCTION_TYPE}
-COPTS.rpcb_svc_com.c+= ${GCC_NO_CAST_FUNCTION_TYPE}
+COPTS.rpcb_svc_4.c+= ${CC_WNO_CAST_FUNCTION_TYPE}
+COPTS.pmap_svc.c+= ${CC_WNO_CAST_FUNCTION_TYPE}
+COPTS.rpcb_svc.c+= ${CC_WNO_CAST_FUNCTION_TYPE}
+COPTS.rpcb_svc_com.c+= ${CC_WNO_CAST_FUNCTION_TYPE}
.PATH: ${LIBCRPCDIR}