diff options
author | 2017-07-04 14:33:43 +0000 | |
---|---|---|
committer | 2017-07-04 14:33:43 +0000 | |
commit | 03ef7681b631b84ad7903a6fc274e25097ec2ea8 (patch) | |
tree | efd39ab7301ab024adc81d4bf7704550a87d13f4 | |
parent | Revert previous, it exposed two edge cases still requiring the (diff) | |
download | wireguard-openbsd-03ef7681b631b84ad7903a6fc274e25097ec2ea8.tar.xz wireguard-openbsd-03ef7681b631b84ad7903a6fc274e25097ec2ea8.zip |
Enable the use of futex(2) in librthread on mips64.
OK mpi@, deraadt@
-rw-r--r-- | lib/librthread/Makefile | 5 |
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 |