diff options
author | 2002-06-17 18:26:55 +0000 | |
---|---|---|
committer | 2002-06-17 18:26:55 +0000 | |
commit | f763028b16c1dfe2b7e77afe349f69dce2c347fa (patch) | |
tree | 07b4b75433fc70c6e899878c53909946f9b42678 /lib | |
parent | only make -g available to root, by disabling setgid kmem; bunch of people ok (diff) | |
download | wireguard-openbsd-f763028b16c1dfe2b7e77afe349f69dce2c347fa.tar.xz wireguard-openbsd-f763028b16c1dfe2b7e77afe349f69dce2c347fa.zip |
sync with libc_r (NOPOLL no longer needed)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libpthread/Makefile | 8 |
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" |