summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-01-15 22:37:03 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-01-15 22:37:03 +0000
commite55b917f6bc3b0cbb0676796496bad0431ec9944 (patch)
treee86a30208a62da854b33a6ee571bde5b109d5872
parent6943a9c235e4a60c377fffe90ca290f14f2d4fbe (diff)
o no more NOPOLL.
o rearrange a bit.
-rw-r--r--lib/libc_r/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc_r/Makefile b/lib/libc_r/Makefile
index 788bce00b40..8778a9bde5a 100644
--- a/lib/libc_r/Makefile
+++ b/lib/libc_r/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.11 2001/02/21 00:03:46 brad Exp $
+# $OpenBSD: Makefile,v 1.12 2002/01/15 22:37:02 fgsch Exp $
# libc_r will be depreceated and replaced by libpthread
# when all supported architectures support weak symbols.
@@ -12,9 +12,7 @@ LIBC_RSRCDIR = ${.CURDIR}
LIB= c_r
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}/include
+CFLAGS+= -I${LIBC_RSRCDIR}/uthread -I${LIBC_RSRCDIR}/include
CFLAGS+= -I${LIBCSRCDIR}/include
# Uncomment this if you want libc_r to contain debug information for
@@ -22,6 +20,9 @@ CFLAGS+= -I${LIBCSRCDIR}/include
CFLAGS+= -D_LOCK_DEBUG
#DEBUG= -ggdb -Wall
+# enable extra internal consistency checks
+CFLAGS+= -D_PTHREADS_INVARIANTS
+
.include "${LIBCSRCDIR}/Makefile.inc"
# annul man pages that are built/installed by libc