summaryrefslogtreecommitdiff
path: root/lib/libpthread/Makefile
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2002-11-12 20:10:19 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2002-11-12 20:10:19 +0000
commite0230372e5261e72b6c7e3219309646683f8a05d (patch)
treef77bc3c7cec5fc5f0c8020b06e2ee69748dbbf5b /lib/libpthread/Makefile
parent6a2b2974d6d0469840b37a9109b8e5f45cf05170 (diff)
don't build with -g/-ggdb by default.
always build with -Wall bump version to 0.7 (matches libc_r x.7)
Diffstat (limited to 'lib/libpthread/Makefile')
-rw-r--r--lib/libpthread/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile
index 129ec812f6e..e6f08bd6cde 100644
--- a/lib/libpthread/Makefile
+++ b/lib/libpthread/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 2002/06/17 18:26:55 marc Exp $
+# $OpenBSD: Makefile,v 1.14 2002/11/12 20:10:18 marc Exp $
#
# The pthread library is formed from the FreeBSD uthread sources of
@@ -12,7 +12,7 @@ LIBCSRCDIR= ${.CURDIR}/../libc
LIB= pthread
LINTFLAGS= -z
-CFLAGS+= -DPTHREAD_KERNEL -D_POSIX_THREADS -D_THREAD_SAFE
+CFLAGS+= -DPTHREAD_KERNEL -D_POSIX_THREADS -D_THREAD_SAFE -Wall
CFLAGS+= -I${LIBC_RSRCDIR}/uthread
CFLAGS+= -I${LIBC_RSRCDIR}/include
CFLAGS+= -I${LIBCSRCDIR}/include
@@ -21,7 +21,7 @@ AINC+= -I${LIBC_RSRCDIR}/uthread
# Uncomment this if you want libc_r to contain debug information for
# thread locking.
CFLAGS+= -D_LOCK_DEBUG
-DEBUG= -ggdb -Wall
+#DEBUG= -g
# enable extra internal consistency checks
CFLAGS+= -D_PTHREADS_INVARIANTS