diff options
author | deischen <deischen@FreeBSD.org> | 2007-05-13 14:12:40 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2007-05-13 14:12:40 +0000 |
commit | bf3a79274dac1f6f74c4a1d126e3fb098ac9fc6c (patch) | |
tree | cedba41bbd60d21fa5e0f68f5e71c480784553bb /share/mk/bsd.lib.mk | |
parent | b8fdd70fefcae4b85366907c61409d531b3ec165 (diff) | |
download | FreeBSD-src-bf3a79274dac1f6f74c4a1d126e3fb098ac9fc6c.zip FreeBSD-src-bf3a79274dac1f6f74c4a1d126e3fb098ac9fc6c.tar.gz |
Enable symbol versioning by default. Use WITHOUT_SYMVER to disable it.
Warning, after symbol versioning is enabled, going back is not easy
(use WITHOUT_SYMVER at your own risk).
Change the default thread library to libthr.
There most likely still needs to be a version bump for at least the
thread libraries. If necessary, this will happen later.
Diffstat (limited to 'share/mk/bsd.lib.mk')
-rw-r--r-- | share/mk/bsd.lib.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 2c01afc..a2e4f21 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -108,7 +108,7 @@ all: objwarn # Allow librararies to specify their own version map or have it # automatically generated (see bsd.symver.mk above). -.if !empty(VERSION_MAP) +.if (${MK_SYMVER} == "yes") && !empty(VERSION_MAP) ${SHLIB_NAME}: ${VERSION_MAP} LDFLAGS+= -Wl,--version-script=${VERSION_MAP} .endif |