From 1b17c00bdec4a56aa86d606b7eac9cb08e86ce88 Mon Sep 17 00:00:00 2001 From: deischen Date: Thu, 16 Mar 2006 15:17:47 +0000 Subject: Suuply the name of the version map and let bsd.lib.mk supply the link arguments. --- lib/libpthread/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lib/libpthread') diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile index ccb8493..a30bccb 100644 --- a/lib/libpthread/Makefile +++ b/lib/libpthread/Makefile @@ -31,11 +31,15 @@ CFLAGS+=-D_LOCK_DEBUG # however it is no longer strictly conformed to POSIX # CFLAGS+=-DSYSTEM_SCOPE_ONLY -LDFLAGS= -Wl,--version-script=${.CURDIR}/pthread.map -Wl,-zmuldefs - -# enable extra internal consistancy checks +# Enable extra internal consistancy checks. CFLAGS+=-D_PTHREADS_INVARIANTS -Wall + +VERSION_MAP=${.CURDIR}/pthread.map + .if defined(SYMVER_ENABLED) +# Remove this if library version is bumped and LIBPTHREAD_1_0 +# compatability hacks are removed (see thread/thr_private.h). +LDFLAGS+=-Wl,-zmuldefs CFLAGS+=-DSYMBOL_VERSIONING .endif -- cgit v1.1