mirror of
git://sourceware.org/git/glibc.git
synced 2026-10-20 11:52:27 +08:00
Update.
1998-10-30 Ulrich Drepper <drepper@cygnus.com> * Makerules (build-shlib): Add -O to generate optimized shared objects.
This commit is contained in:
@@ -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),\
|
||||
|
||||
Reference in New Issue
Block a user