Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libc/arch/sparc/atomic When using clang, do not u...
details: https://anonhg.NetBSD.org/src/rev/a9a9de5e2739
branches: trunk
changeset: 343819:a9a9de5e2739
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Feb 27 19:19:33 2016 +0000
description:
When using clang, do not use the sparc64 code as it doesn't provide the
full set of symbols and clang in -m32 defaults to sparcv8, not
sparcv8plus.
diffstat:
common/lib/libc/arch/sparc/atomic/Makefile.inc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r 766b211a455e -r a9a9de5e2739 common/lib/libc/arch/sparc/atomic/Makefile.inc
--- a/common/lib/libc/arch/sparc/atomic/Makefile.inc Sat Feb 27 19:18:29 2016 +0000
+++ b/common/lib/libc/arch/sparc/atomic/Makefile.inc Sat Feb 27 19:19:33 2016 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile.inc,v 1.20 2016/02/27 19:18:29 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.21 2016/02/27 19:19:33 joerg Exp $
.include <bsd.own.mk>
# This is called with MACHINE=sparc64 && MACHINE_ARCH=sparc when building
# 32 bit kernels for ultrasparc hardware
-.if ${MACHINE} == "sparc64"
+.if ${MACHINE} == "sparc64" && ${HAVE_LLVM:Uno} == "no"
SPARC64DIR= ${.PARSEDIR}/../../sparc64/atomic
.PATH.c: ${SPARC64DIR}
Home |
Main Index |
Thread Index |
Old Index