aboutsummaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.symver.mk
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2007-05-13 14:12:40 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2007-05-13 14:12:40 +0000
commit00fb440c1a145b56b6c75fd405d80071aef2aab1 (patch)
treecedba41bbd60d21fa5e0f68f5e71c480784553bb /share/mk/bsd.symver.mk
parent9af491e24b3eb2879550950c538cf42f3e80451d (diff)
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.symver.mk')
-rw-r--r--share/mk/bsd.symver.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.symver.mk b/share/mk/bsd.symver.mk
index 3debc695d5a9..b3cc1d94c189 100644
--- a/share/mk/bsd.symver.mk
+++ b/share/mk/bsd.symver.mk
@@ -7,7 +7,7 @@ __<bsd.symver.mk>__:
# Generate the version map given the version definitions
# and symbol maps.
-.if !empty(VERSION_DEF) && !empty(SYMBOL_MAPS)
+.if (${MK_SYMVER} == "yes") && !empty(VERSION_DEF) && !empty(SYMBOL_MAPS)
# Find the awk script that generates the version map.
VERSION_GEN?= version_gen.awk
VERSION_MAP?= Version.map