From: visa Date: Tue, 4 Jul 2017 14:33:43 +0000 (+0000) Subject: Enable the use of futex(2) in librthread on mips64. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=03ef7681b631b84ad7903a6fc274e25097ec2ea8;p=openbsd Enable the use of futex(2) in librthread on mips64. OK mpi@, deraadt@ --- 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