diff options
author | deischen <deischen@FreeBSD.org> | 2006-03-16 15:17:47 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2006-03-16 15:17:47 +0000 |
commit | 1b17c00bdec4a56aa86d606b7eac9cb08e86ce88 (patch) | |
tree | 527817000b6c5d217282c87a5f876a72aa6671e4 /lib/libkse | |
parent | cb9cc95c77198e502e3efcc710c904dfdc7ec9cf (diff) | |
download | FreeBSD-src-1b17c00bdec4a56aa86d606b7eac9cb08e86ce88.zip FreeBSD-src-1b17c00bdec4a56aa86d606b7eac9cb08e86ce88.tar.gz |
Suuply the name of the version map and let bsd.lib.mk supply
the link arguments.
Diffstat (limited to 'lib/libkse')
-rw-r--r-- | lib/libkse/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libkse/Makefile b/lib/libkse/Makefile index ccb8493..a30bccb 100644 --- a/lib/libkse/Makefile +++ b/lib/libkse/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 |