summaryrefslogtreecommitdiff
path: root/external/apache2
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 /external/apache2
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 'external/apache2')
-rw-r--r--external/apache2/llvm/lib/libLLVMInstCombine/Makefile4
-rw-r--r--external/apache2/llvm/lib/libLLVMInstrumentation/Makefile4
-rw-r--r--external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile4
3 files changed, 6 insertions, 6 deletions
diff --git a/external/apache2/llvm/lib/libLLVMInstCombine/Makefile b/external/apache2/llvm/lib/libLLVMInstCombine/Makefile
index 4e87346d279..b951a689ab8 100644
--- a/external/apache2/llvm/lib/libLLVMInstCombine/Makefile
+++ b/external/apache2/llvm/lib/libLLVMInstCombine/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/05/30 01:56:53 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2023/06/03 08:52:53 lukem Exp $
LIB= LLVMInstCombine
@@ -28,4 +28,4 @@ SRCS+= InstCombineAddSub.cpp \
.include <bsd.lib.mk>
.endif
-CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER}
+CWARNFLAGS.gcc+= ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
diff --git a/external/apache2/llvm/lib/libLLVMInstrumentation/Makefile b/external/apache2/llvm/lib/libLLVMInstrumentation/Makefile
index fb561c1d722..2009f34950d 100644
--- a/external/apache2/llvm/lib/libLLVMInstrumentation/Makefile
+++ b/external/apache2/llvm/lib/libLLVMInstrumentation/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/05/30 01:56:53 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2023/06/03 08:52:53 lukem Exp $
LIB= LLVMInstrumentation
@@ -32,4 +32,4 @@ SRCS+= AddressSanitizer.cpp \
.include <bsd.lib.mk>
.endif
-CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER}
+CWARNFLAGS.gcc+= ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
diff --git a/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile b/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile
index 9a6a027a254..e131bc8b16b 100644
--- a/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile
+++ b/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2021/04/13 06:25:48 mrg Exp $
+# $NetBSD: Makefile,v 1.15 2023/06/03 08:52:53 lukem Exp $
PROG= mdnsd
@@ -18,7 +18,7 @@ COPTS.uds_daemon.c += -Wno-stack-protector
MAN= mdnsd.8
CWARNFLAGS.clang+= -Wno-unused-value -Wno-error=address-of-packed-member
-CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER}
+CWARNFLAGS.gcc+= ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
COPTS.DNSCommon.c+= ${GCC_NO_RETURN_LOCAL_ADDR}