diff options
| author | lukem <lukem@NetBSD.org> | 2023-06-03 08:52:53 +0000 |
|---|---|---|
| committer | lukem <lukem@NetBSD.org> | 2023-06-03 08:52:53 +0000 |
| commit | abaa8cb87058c08ad0688c849a28f4e007c07bbb (patch) | |
| tree | b605286f3fba170e6cbf35b5f30a1a915e19d120 /usr.sbin/mrouted | |
| parent | 4e669cc7c9ec3b3364a9f7d56e92bdf770cca438 (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 'usr.sbin/mrouted')
| -rw-r--r-- | usr.sbin/mrouted/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/mrouted/Makefile b/usr.sbin/mrouted/Makefile index 8a37ecf834d..5b9276730f9 100644 --- a/usr.sbin/mrouted/Makefile +++ b/usr.sbin/mrouted/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2020/09/06 07:20:32 mrg Exp $ +# $NetBSD: Makefile,v 1.18 2023/06/03 08:53:00 lukem Exp $ # from: Id: Makefile,v 1.5 1993/06/24 05:11:16 deering Exp .include <bsd.own.mk> @@ -15,7 +15,7 @@ DPADD+= ${LIBUTIL} CPPFLAGS+= -I${.CURDIR} CWARNFLAGS.clang+= -Wno-format-extra-args -CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER} +CWARNFLAGS.gcc+= ${CC_WNO_ADDRESS_OF_PACKED_MEMBER} COPTS.cfparse.c+= ${GCC_NO_STRINGOP_TRUNCATION} COPTS.vif.c+= ${GCC_NO_STRINGOP_TRUNCATION} |
