summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2023-06-03 08:52:53 +0000
committerlukem <lukem@NetBSD.org>2023-06-03 08:52:53 +0000
commitabaa8cb87058c08ad0688c849a28f4e007c07bbb (patch)
treeb605286f3fba170e6cbf35b5f30a1a915e19d120 /libexec
parent4e669cc7c9ec3b3364a9f7d56e92bdf770cca438 (diff)
bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER
Provide a single variable CC_WNO_ADDRESS_OF_PACKED_MEMBER with options for both clang and gcc, to replace CLANG_NO_ADDR_OF_PACKED_MEMBER CC_NO_ADDR_OF_PACKED_MEMBER GCC_NO_ADDR_OF_PACKED_MEMBER Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/identd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/identd/Makefile b/libexec/identd/Makefile
index 5012801d7ca..b347e362769 100644
--- a/libexec/identd/Makefile
+++ b/libexec/identd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2020/09/06 07:20:26 mrg Exp $
+# $NetBSD: Makefile,v 1.20 2023/06/03 08:52:54 lukem Exp $
.include <bsd.own.mk>
@@ -28,6 +28,6 @@ DPADD+=${LIBNPF}
# XXX
COPTS+= -fno-strict-aliasing
-CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER}
+CWARNFLAGS.gcc+= ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
.include <bsd.prog.mk>