Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mpl/bind/lib/libisc Avoid clang errors about atomic...
details: https://anonhg.NetBSD.org/src/rev/c95b8a9bc9f8
branches: trunk
changeset: 997024:c95b8a9bc9f8
user: christos <christos%NetBSD.org@localhost>
date: Mon Feb 18 19:30:18 2019 +0000
description:
Avoid clang errors about atomics on arm
diffstat:
external/mpl/bind/lib/libisc/Makefile | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 745189a4bb33 -r c95b8a9bc9f8 external/mpl/bind/lib/libisc/Makefile
--- a/external/mpl/bind/lib/libisc/Makefile Mon Feb 18 19:03:12 2019 +0000
+++ b/external/mpl/bind/lib/libisc/Makefile Mon Feb 18 19:30:18 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2019/01/09 16:55:23 christos Exp $
+# $NetBSD: Makefile,v 1.4 2019/02/18 19:30:18 christos Exp $
LIB=isc
#USE_SHLIBDIR= yes
@@ -44,6 +44,13 @@
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.
+CPPFLAGS.mem.c+= ${${ACTIVE_CC} == "clang":? -Wno-error-atomic-alignment :}
+
+
+
LDADD+=-lz
DPADD+=${LIBZ}
Home |
Main Index |
Thread Index |
Old Index