summaryrefslogtreecommitdiff
path: root/lib/librthread
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2018-10-21 17:07:25 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2018-10-21 17:07:25 +0000
commitc07996048f089fab68e9d8efecbe3ea52a47572e (patch)
tree8d2ece5eea9217c0b5b6f7f633edf983ea134566 /lib/librthread
parent152c7638bc39a6b45575a6a166c8e23f335a579c (diff)
Switch alpha to futex(2) based condvars, mutexes and semaphores.
From Brad, tested by Miod, OK kettenis@
Diffstat (limited to 'lib/librthread')
-rw-r--r--lib/librthread/Makefile11
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