summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2000-08-07 01:23:58 +0000
committerbrad <brad@openbsd.org>2000-08-07 01:23:58 +0000
commite4fece57171d0ea5b0b2bb553d0994b51c8d900e (patch)
treec325bc4b4a6b258bf505e2ad3b66de9ae84e8d91 /lib
parentsync (diff)
downloadwireguard-openbsd-e4fece57171d0ea5b0b2bb553d0994b51c8d900e.tar.xz
wireguard-openbsd-e4fece57171d0ea5b0b2bb553d0994b51c8d900e.zip
this obviously wasn't tested, fix check. We don't even build libpthread by
default on i386 yet.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc_r/TEST/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc_r/TEST/Makefile b/lib/libc_r/TEST/Makefile
index 9e3385f39e6..534a87b3b27 100644
--- a/lib/libc_r/TEST/Makefile
+++ b/lib/libc_r/TEST/Makefile
@@ -1,15 +1,15 @@
-# $OpenBSD: Makefile,v 1.18 2000/02/10 11:42:07 d Exp $
+# $OpenBSD: Makefile,v 1.19 2000/08/07 01:23:58 brad Exp $
# Copyright (c) 1993 Chris Provenzano, proven@athena.mit.edu
LIBC_R?= /usr/lib/libc_r.a
LIBPTHREAD?= /usr/lib/libpthread.a
-.if 1 # ${MACHINE_ARCH} != "i386"
-PTHREAD= -pthread
-DPADD += ${LIBC_R}
-.else
+.if 1 # ${MACHINE_ARCH} == "i386"
PTHREAD= -lpthread
DPADD += ${LIBPTHREAD}
+.else
+PTHREAD= -pthread
+DPADD += ${LIBC_R}
.endif
CFLAGS += -Wall # -Werror