summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2000-08-07 01:23:59 +0000
committerBrad Smith <brad@cvs.openbsd.org>2000-08-07 01:23:59 +0000
commit5c67b22505c067aee322b0d4e9edc44ee96fe8e3 (patch)
tree361338cecd05a7aa29d345ac9c7f601817bf9a2a /lib
parent867e016930fba98b4a4a7f12817026b4b25ebe77 (diff)
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