summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2018-05-19 12:27:34 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2018-05-19 12:27:34 +0000
commit0658a772863ac4c5ca578bea2e8ad8fbb528da81 (patch)
tree429290164b3723c9209c0425f7992d89801e5e44 /lib
parent76268d2a6d587d7813b3260abb25aa6662ddd9ff (diff)
Switch sparc64 to futex(2) based mutexes and condvars.
ok visa@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/thread/Makefile.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/thread/Makefile.inc b/lib/libc/thread/Makefile.inc
index b155bacffe3..d2b42faca7a 100644
--- a/lib/libc/thread/Makefile.inc
+++ b/lib/libc/thread/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.14 2018/05/13 16:23:45 visa Exp $
+# $OpenBSD: Makefile.inc,v 1.15 2018/05/19 12:27:33 mpi Exp $
.PATH: ${LIBCSRCDIR}/thread
@@ -21,7 +21,8 @@ notyet= rthread_condattr_clock.c \
.if ${MACHINE_ARCH} == "aarch64" || \
${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
- ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
+ ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el" || \
+ ${MACHINE_ARCH} == "sparc64"
CFLAGS+= -DFUTEX
SRCS+= rthread_mutex.c \
rthread_cond.c