Suuply the name of the version map and let bsd.lib.mk supply
the link arguments.
This commit is contained in:
parent
96e022f7f3
commit
3618d8fe53
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user