summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2017-07-04 14:33:44 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2017-07-04 14:33:44 +0000
commite87976aa14cc7ade1f6466c4a183dc8b70071cbe (patch)
tree7c4aa557e1ce86e77f3a446afeaceb8b9fc53c71 /lib
parentb56a14b318fd7236e7ba7f34ebc59ebccc613bc9 (diff)
Enable the use of futex(2) in librthread on mips64.
OK mpi@, deraadt@
Diffstat (limited to 'lib')
-rw-r--r--lib/librthread/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/librthread/Makefile b/lib/librthread/Makefile
index 741025eeb5e..5f44aff5958 100644
--- a/lib/librthread/Makefile
+++ b/lib/librthread/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.46 2017/06/01 10:59:23 mpi Exp $
+# $OpenBSD: Makefile,v 1.47 2017/07/04 14:33:43 visa Exp $
LIB=pthread
LIBCSRCDIR= ${.CURDIR}/../libc
@@ -42,7 +42,8 @@ SRCS= rthread.c \
rthread_tls.c \
sched_prio.c
-.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
+.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
+ ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
CFLAGS+= -DFUTEX
SRCS+= rthread_mutex.c \
rthread_cond.c