aboutsummaryrefslogtreecommitdiff
path: root/lib/libpthread/Makefile
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2003-05-30 00:21:52 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2003-05-30 00:21:52 +0000
commit84d55c7fad83f4fa1330cc8c2206da8ebd0b300d (patch)
tree94d7f73e2932ac623f1590991875a38731aca104 /lib/libpthread/Makefile
parent43dd76d2428f29c23526d500d7e28d7dfce6fa49 (diff)
Notes
Diffstat (limited to 'lib/libpthread/Makefile')
-rw-r--r--lib/libpthread/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile
index d5e51e5a15ec..c25ccf4f6d2a 100644
--- a/lib/libpthread/Makefile
+++ b/lib/libpthread/Makefile
@@ -14,12 +14,16 @@ CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \
-I${.CURDIR}/../../include
CFLAGS+=-I${.CURDIR}/arch/${MACHINE_ARCH}/include
CFLAGS+=-I${.CURDIR}/sys
+CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf
+CFLAGS+=-fno-builtin
# Uncomment this if you want libpthread to contain debug information for
# thread locking.
CFLAGS+=-D_LOCK_DEBUG
#CFLAGS+= -g
+LDADD+= -Wl,--version-script=${.CURDIR}/pthread.map
+
# enable extra internal consistancy checks
CFLAGS+=-D_PTHREADS_INVARIANTS -Wall
@@ -28,5 +32,6 @@ PRECIOUSLIB= yes
.include "${.CURDIR}/thread/Makefile.inc"
.include "${.CURDIR}/sys/Makefile.inc"
+.include "${.CURDIR}/support/Makefile.inc"
.include <bsd.lib.mk>