about summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-04-05 00:44:59 +0000
committerRoland McGrath <roland@gnu.org>2000-04-05 00:44:59 +0000
commit2a1bb46b9a841fd82d0f59c9d4a0ddfa29e09f3f (patch)
treed54ba785de36dd1112c5093b492b90289482a62d /Makeconfig
parent09847c8d0dd17bf14b24afeb940b9887f09e4c3f (diff)
downloadglibc-2a1bb46b9a841fd82d0f59c9d4a0ddfa29e09f3f.tar.gz
glibc-2a1bb46b9a841fd82d0f59c9d4a0ddfa29e09f3f.tar.xz
glibc-2a1bb46b9a841fd82d0f59c9d4a0ddfa29e09f3f.zip
2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
	* Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makeconfig b/Makeconfig
index 8a7f94849b..120a8954a7 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -762,6 +762,15 @@ ifndef rtld-version-installed-name
 rtld-version-installed-name = ld-$(version).so
 endif
 
+else  # build-shared != yes
+
+# Since symbol versioning is only meaningful for shared objects,
+# turn this variable off when we aren't building any.
+# The setting from config.make just tells us ld would support it if we cared.
+# Clobbering it here avoids having to double-conditionalize everything
+# on both $(versioning) and $(build-shared).
+versioning := no
+
 endif # build-shared
 
 ifneq (,$(findstring linuxthreads,$(add-ons)))