summaryrefslogtreecommitdiffstats
path: root/lib/libc/thread
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2018-05-19 12:27:33 +0000
committermpi <mpi@openbsd.org>2018-05-19 12:27:33 +0000
commitd75e14bf5deb6b9b980bf35077a73fc91580fb13 (patch)
tree9323a767dcdbcc574292d01840e58c3888d4a8b7 /lib/libc/thread
parentUI_METHOD *UI_create_method(const char *name). (diff)
downloadwireguard-openbsd-d75e14bf5deb6b9b980bf35077a73fc91580fb13.tar.xz
wireguard-openbsd-d75e14bf5deb6b9b980bf35077a73fc91580fb13.zip
Switch sparc64 to futex(2) based mutexes and condvars.
ok visa@
Diffstat (limited to 'lib/libc/thread')
-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