diff options
Diffstat (limited to 'lib/librthread')
-rw-r--r-- | lib/librthread/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/librthread/Makefile b/lib/librthread/Makefile index 4f2474f0042..b848dada3a6 100644 --- a/lib/librthread/Makefile +++ b/lib/librthread/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.52 2018/10/15 13:03:11 visa Exp $ +# $OpenBSD: Makefile,v 1.53 2018/10/21 17:07:24 visa Exp $ LIB=pthread LIBCSRCDIR= ${.CURDIR}/../libc @@ -36,10 +36,11 @@ SRCS= rthread.c \ sched_prio.c # Architectures that implement atomics -.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \ - ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386" || \ - ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el" || \ - ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64" +.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "alpha" || \ + ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "arm" || \ + ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "mips64" || \ + ${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "powerpc" || \ + ${MACHINE_ARCH} == "sparc64" SRCS+= rthread_sem.c .else SRCS+= rthread_sem_compat.c |