summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2018-05-13 16:23:46 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2018-05-13 16:23:46 +0000
commit2c42162949117a0e08f5c6f4907dfe941c6c1542 (patch)
tree3e3a4d0dde845cc49a329022f17583ff17c1d0ba /lib/libc
parent026518baecf212552a734371f1003a8cc0c53325 (diff)
Enable futex(2)-based mutex on arm64.
OK mpi@, kettenis@
Diffstat (limited to 'lib/libc')
-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 075a9b8da17..b155bacffe3 100644
--- a/lib/libc/thread/Makefile.inc
+++ b/lib/libc/thread/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.13 2017/11/04 22:53:57 jca Exp $
+# $OpenBSD: Makefile.inc,v 1.14 2018/05/13 16:23:45 visa Exp $
.PATH: ${LIBCSRCDIR}/thread
@@ -19,7 +19,8 @@ notyet= rthread_condattr_clock.c \
spinlock.c \
spinlocktry.c
-.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
+.if ${MACHINE_ARCH} == "aarch64" || \
+ ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
CFLAGS+= -DFUTEX
SRCS+= rthread_mutex.c \