aboutsummaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-30 14:37:19 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-30 14:37:19 +0000
commite980ca92297b87f132315afe36cc530edb20c7e0 (patch)
treea47ce54adb564df9d47f88ec8034a0e612feb1f0 /Makerules
parent0e19d4a310ceea0a01380f20c25110dcfa07f2eb (diff)
downloadglibc-e980ca92297b87f132315afe36cc530edb20c7e0.tar
glibc-e980ca92297b87f132315afe36cc530edb20c7e0.tar.gz
glibc-e980ca92297b87f132315afe36cc530edb20c7e0.tar.bz2
glibc-e980ca92297b87f132315afe36cc530edb20c7e0.zip
Update.
1998-10-30 Ulrich Drepper <drepper@cygnus.com> * Makerules (build-shlib): Add -O to generate optimized shared objects.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makerules b/Makerules
index 1284cf54e0..3bb46172a8 100644
--- a/Makerules
+++ b/Makerules
@@ -353,7 +353,7 @@ lib%.so: lib%_pic.a $(+preinit) $(+postinit) $(+interp)
$(build-shlib)
define build-shlib
-$(LINK.o) -shared -o $@ $(sysdep-LDFLAGS) $(config-LDFLAGS) \
+$(LINK.o) -shared -O -o $@ $(sysdep-LDFLAGS) $(config-LDFLAGS) \
-B$(csu-objpfx) $(load-map-file) \
-Wl,-soname=lib$(libprefix)$(@F:lib%.so=%).so$($(@F)-version) \
$(LDFLAGS.so) $(LDFLAGS-$(@F:lib%.so=%).so) \
@@ -670,8 +670,8 @@ ifndef subdir
# link script. It contains references for the various libraries we need.
# The libc.so object is not complete since some functions are only defined
# in libc_nonshared.a.
-# We need to use absolute paths since otherwise local copies (if they exist)
-# of the files are taken by the linker.
+# We need to use absolute paths since otherwise local copies (if they exist)
+# of the files are taken by the linker.
install: $(inst_libdir)/libc.so
$(inst_libdir)/libc.so: $(common-objpfx)libc.so$(libc.so-version) \
$(inst_libdir)/$(patsubst %,$(libtype.oS),\