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.
This commit is contained in:
parent
d88c8eaaf4
commit
b1b09da029
@ -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>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
# This is called with MACHINE=sparc64 && MACHINE_ARCH=sparc when building
|
# This is called with MACHINE=sparc64 && MACHINE_ARCH=sparc when building
|
||||||
# 32 bit kernels for ultrasparc hardware
|
# 32 bit kernels for ultrasparc hardware
|
||||||
.if ${MACHINE} == "sparc64"
|
.if ${MACHINE} == "sparc64" && ${HAVE_LLVM:Uno} == "no"
|
||||||
|
|
||||||
SPARC64DIR= ${.PARSEDIR}/../../sparc64/atomic
|
SPARC64DIR= ${.PARSEDIR}/../../sparc64/atomic
|
||||||
.PATH.c: ${SPARC64DIR}
|
.PATH.c: ${SPARC64DIR}
|
||||||
|
Loading…
Reference in New Issue
Block a user