From 03ef7681b631b84ad7903a6fc274e25097ec2ea8 Mon Sep 17 00:00:00 2001 From: visa Date: Tue, 4 Jul 2017 14:33:43 +0000 Subject: [PATCH] Enable the use of futex(2) in librthread on mips64. OK mpi@, deraadt@ --- lib/librthread/Makefile | 5 +++-- 1 file 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 -- 2.20.1