summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2002-06-17 18:26:56 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2002-06-17 18:26:56 +0000
commit6006f6ba1defbadc3323b2e7428c652f293e4e94 (patch)
tree06d4695971497e0e281614cdf538bc265e91a05a
parent7606c8e20b4ed26553b68c1768c6ddf809060c42 (diff)
sync with libc_r (NOPOLL no longer needed)
-rw-r--r--lib/libpthread/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile
index 845adcb1353..129ec812f6e 100644
--- a/lib/libpthread/Makefile
+++ b/lib/libpthread/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.12 2000/01/06 22:23:28 d Exp $
+# $OpenBSD: Makefile,v 1.13 2002/06/17 18:26:55 marc Exp $
#
# The pthread library is formed from the FreeBSD uthread sources of
@@ -13,8 +13,7 @@ LIBCSRCDIR= ${.CURDIR}/../libc
LIB= pthread
LINTFLAGS= -z
CFLAGS+= -DPTHREAD_KERNEL -D_POSIX_THREADS -D_THREAD_SAFE
-CFLAGS+= -D_PTHREADS_INVARIANTS
-CFLAGS+= -DNOPOLL -I${LIBC_RSRCDIR}/uthread
+CFLAGS+= -I${LIBC_RSRCDIR}/uthread
CFLAGS+= -I${LIBC_RSRCDIR}/include
CFLAGS+= -I${LIBCSRCDIR}/include
AINC+= -I${LIBC_RSRCDIR}/uthread
@@ -24,6 +23,9 @@ AINC+= -I${LIBC_RSRCDIR}/uthread
CFLAGS+= -D_LOCK_DEBUG
DEBUG= -ggdb -Wall
+# enable extra internal consistency checks
+CFLAGS+= -D_PTHREADS_INVARIANTS
+
.include "${LIBC_RSRCDIR}/include/Makefile.inc"
.include "${LIBC_RSRCDIR}/sys/Makefile.inc"
.include "${LIBC_RSRCDIR}/thread/Makefile.inc"