aboutsummaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-09 06:46:20 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-09 06:46:20 +0000
commit90feeaa2ebef8b807cfb774bcbe311325eae0b3b (patch)
tree512bf74a0a1f35f4a4adedd92f5fa614ac196cf6 /Makerules
parent441f7d1eb2ab291a1d7ee3aa31aa5030d6007355 (diff)
downloadglibc-90feeaa2ebef8b807cfb774bcbe311325eae0b3b.zip
glibc-90feeaa2ebef8b807cfb774bcbe311325eae0b3b.tar.gz
glibc-90feeaa2ebef8b807cfb774bcbe311325eae0b3b.tar.bz2
Update.
* Makerules (build-shlib): Work around different order of processing of -B option in different gcc versions.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index 5c9b757..5f938dd 100644
--- a/Makerules
+++ b/Makerules
@@ -415,7 +415,8 @@ lib%.so: lib%_pic.a $(+preinit) $(+postinit) $(+interp)
define build-shlib
$(LINK.o) -shared -Wl,-O1 -o $@ $(sysdep-LDFLAGS) $(config-LDFLAGS) \
- $(extra-B-$(@F:lib%.so=%).so) -B$(csu-objpfx) $(load-map-file) \
+ $(extra-B-$(@F:lib%.so=%).so) -B$(csu-objpfx) \
+ $(extra-B-$(@F:lib%.so=%).so) $(load-map-file) \
-Wl,-soname=lib$(libprefix)$(@F:lib%.so=%).so$($(@F)-version) \
$(LDFLAGS.so) $(LDFLAGS-$(@F:lib%.so=%).so) \
-L$(subst :, -L,$(rpath-link)) -Wl,-rpath-link=$(rpath-link) \