diff options
| author | joerg <joerg@NetBSD.org> | 2016-02-27 19:19:33 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2016-02-27 19:19:33 +0000 |
| commit | b08f7dad6045f76c7d7b4e5974c8cfedf944b4ba (patch) | |
| tree | 2341f63a0f5a1ab67a2b74174ab4340b5cb6a540 /common | |
| parent | c038f4d7d5e86aef9ba59ef71cf968aa854b6748 (diff) | |
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 (limited to 'common')
| -rw-r--r-- | common/lib/libc/arch/sparc/atomic/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/lib/libc/arch/sparc/atomic/Makefile.inc b/common/lib/libc/arch/sparc/atomic/Makefile.inc index 55b8a6f5643..b169f9e3af3 100644 --- a/common/lib/libc/arch/sparc/atomic/Makefile.inc +++ b/common/lib/libc/arch/sparc/atomic/Makefile.inc @@ -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} |
