Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mpl/bind Disable warning about atomic alignment for...
details: https://anonhg.NetBSD.org/src/rev/b8d5856af4af
branches: trunk
changeset: 449249:b8d5856af4af
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Feb 28 22:18:21 2019 +0000
description:
Disable warning about atomic alignment for all bind. It's used too
often.
diffstat:
external/mpl/bind/Makefile.inc | 5 +++--
external/mpl/bind/lib/libisc/Makefile | 12 +-----------
2 files changed, 4 insertions(+), 13 deletions(-)
diffs (50 lines):
diff -r d9bf4195873c -r b8d5856af4af external/mpl/bind/Makefile.inc
--- a/external/mpl/bind/Makefile.inc Thu Feb 28 17:41:27 2019 +0000
+++ b/external/mpl/bind/Makefile.inc Thu Feb 28 22:18:21 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.3 2019/01/09 16:54:58 christos Exp $
+# $NetBSD: Makefile.inc,v 1.4 2019/02/28 22:18:21 joerg Exp $
.if !defined(BIND9_MAKEFILE_INC)
BIND9_MAKEFILE_INC=yes
@@ -9,7 +9,8 @@
WARNS?= 1
-CWARNFLAGS.clang+= -Wno-unused-value -Wno-parentheses
+CWARNFLAGS.clang+= -Wno-unused-value -Wno-parentheses \
+ -Wno-atomic-alignment
.include <bsd.own.mk>
diff -r d9bf4195873c -r b8d5856af4af external/mpl/bind/lib/libisc/Makefile
--- a/external/mpl/bind/lib/libisc/Makefile Thu Feb 28 17:41:27 2019 +0000
+++ b/external/mpl/bind/lib/libisc/Makefile Thu Feb 28 22:18:21 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2019/02/28 17:40:06 christos Exp $
+# $NetBSD: Makefile,v 1.8 2019/02/28 22:18:21 joerg Exp $
LIB=isc
#USE_SHLIBDIR= yes
@@ -36,21 +36,11 @@
taskpool.c timer.c tm.c version.c \
${UNIX_SRCS} ${PTHREAD_SRCS} ${CRYPTO_SRCS}
-
-
.if (${USE_INET6} == "no")
CPPFLAGS.net.c= -Wno-error
SRCS+= ipv6.c
.endif
-# On certain flavors of arm we don't have native atomics only ones
-# libcall ones which are inefficient. But this should not be an
-# error anyway.
-COPTS.mem.c+= ${${ACTIVE_CC} == "clang":? -Wno-error-atomic-alignment :}
-COPTS.counter.c+= ${${ACTIVE_CC} == "clang":? -Wno-error-atomic-alignment :}
-
-
-
LDADD+=-lz
DPADD+=${LIBZ}
Home |
Main Index |
Thread Index |
Old Index