summaryrefslogtreecommitdiff
path: root/usr.sbin/makefs
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/makefs
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/makefs')
-rw-r--r--usr.sbin/makefs/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/makefs/Makefile b/usr.sbin/makefs/Makefile
index 6da00e8d7e5..4a7e80bad88 100644
--- a/usr.sbin/makefs/Makefile
+++ b/usr.sbin/makefs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2023/01/07 19:41:30 chs Exp $
+# $NetBSD: Makefile,v 1.41 2023/06/03 09:09:21 lukem Exp $
#
.include <bsd.own.mk>
@@ -32,11 +32,11 @@ LDADD+= -lm
DPADD+= ${LIBUTIL} ${LIBM}
LDADD+= -lutil -lm
-COPTS.cd9660.c+= ${GCC_NO_STRINGOP_TRUNCATION} ${GCC_NO_FORMAT_TRUNCATION}
-COPTS.cd9660_conversion.c+= ${GCC_NO_FORMAT_TRUNCATION}
-COPTS.udf.c+= ${GCC_NO_STRINGOP_TRUNCATION}
-COPTS.v7fs_estimate.c+= ${GCC_NO_STRINGOP_TRUNCATION}
-COPTS.v7fs_populate.c+= ${GCC_NO_STRINGOP_TRUNCATION} ${GCC_NO_FORMAT_TRUNCATION}
+COPTS.cd9660.c+= ${CC_WNO_STRINGOP_TRUNCATION} ${CC_WNO_FORMAT_TRUNCATION}
+COPTS.cd9660_conversion.c+= ${CC_WNO_FORMAT_TRUNCATION}
+COPTS.udf.c+= ${CC_WNO_STRINGOP_TRUNCATION}
+COPTS.v7fs_estimate.c+= ${CC_WNO_STRINGOP_TRUNCATION}
+COPTS.v7fs_populate.c+= ${CC_WNO_STRINGOP_TRUNCATION} ${CC_WNO_FORMAT_TRUNCATION}
.endif
.include <bsd.prog.mk>