Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/jemalloc/lib Ignore atomic alignment error for ...
details: https://anonhg.NetBSD.org/src/rev/70dcf382e4b0
branches: trunk
changeset: 450476:70dcf382e4b0
user: christos <christos%NetBSD.org@localhost>
date: Mon Apr 15 20:40:53 2019 +0000
description:
Ignore atomic alignment error for clang
diffstat:
external/bsd/jemalloc/lib/Makefile.inc | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 32533a421bfe -r 70dcf382e4b0 external/bsd/jemalloc/lib/Makefile.inc
--- a/external/bsd/jemalloc/lib/Makefile.inc Mon Apr 15 20:38:18 2019 +0000
+++ b/external/bsd/jemalloc/lib/Makefile.inc Mon Apr 15 20:40:53 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.8 2019/03/29 15:13:44 christos Exp $
+# $NetBSD: Makefile.inc,v 1.9 2019/04/15 20:40:53 christos Exp $
JEMALLOC:=${.PARSEDIR}/..
@@ -39,7 +39,8 @@
.PATH.3: ${JEMALLOC}/dist/doc
.for i in ${JEMALLOC_SRCS}
CPPFLAGS.${i}+=-I${JEMALLOC}/include -DJEMALLOC_PROTECT_NOSTD -DJEMALLOC_DEBUG
-COPTS.${i}+= -fvisibility=hidden -funroll-loops
+COPTS.${i}+= -fvisibility=hidden -funroll-loops
+COPTS.${i}+= ${${ACTIVE_CC} == "clang":? -Wno-atomic-alignment :}
.endfor
COPTS.background_thread.c+=-Wno-error=stack-protector
Home |
Main Index |
Thread Index |
Old Index