Module Name: src
Committed By: christos
Date: Mon Feb 18 19:30:18 UTC 2019
Modified Files:
src/external/mpl/bind/lib/libisc: Makefile
Log Message:
Avoid clang errors about atomics on arm
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mpl/bind/lib/libisc/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/mpl/bind/lib/libisc/Makefile
diff -u src/external/mpl/bind/lib/libisc/Makefile:1.3 src/external/mpl/bind/lib/libisc/Makefile:1.4
--- src/external/mpl/bind/lib/libisc/Makefile:1.3 Wed Jan 9 11:55:23 2019
+++ src/external/mpl/bind/lib/libisc/Makefile Mon Feb 18 14:30:18 2019
@@ -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 @@ 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.
+CPPFLAGS.mem.c+= ${${ACTIVE_CC} == "clang":? -Wno-error-atomic-alignment :}
+
+
+
LDADD+=-lz
DPADD+=${LIBZ}