diff options
author | 2018-09-24 11:25:09 +0000 | |
---|---|---|
committer | 2018-09-24 11:25:09 +0000 | |
commit | e9c926da912f1985b3a00df6995af59a26881ef3 (patch) | |
tree | 033cefadd4fd9cee20aae7d102fd45d0174ddcbb /lib/libc | |
parent | sync (diff) | |
download | wireguard-openbsd-e9c926da912f1985b3a00df6995af59a26881ef3.tar.xz wireguard-openbsd-e9c926da912f1985b3a00df6995af59a26881ef3.zip |
enable futex(2) based mutexes on armv7 and use futex based semaphores in
librthread on armv7 as well
from brad ok visa@ kettenis@ mpi@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/thread/Makefile.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/thread/Makefile.inc b/lib/libc/thread/Makefile.inc index d2b42faca7a..a46221808f9 100644 --- a/lib/libc/thread/Makefile.inc +++ b/lib/libc/thread/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.15 2018/05/19 12:27:33 mpi Exp $ +# $OpenBSD: Makefile.inc,v 1.16 2018/09/24 11:25:09 jsg Exp $ .PATH: ${LIBCSRCDIR}/thread @@ -19,8 +19,8 @@ notyet= rthread_condattr_clock.c \ spinlock.c \ spinlocktry.c -.if ${MACHINE_ARCH} == "aarch64" || \ - ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \ +.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \ + ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386" || \ ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el" || \ ${MACHINE_ARCH} == "sparc64" CFLAGS+= -DFUTEX |