summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-07-08 15:07:16 +0000
committerUlrich Drepper <drepper@redhat.com>2001-07-08 15:07:16 +0000
commit994431ed53a3a6e73867638755bbe27a832b301b (patch)
tree6d5e72f072ee25f92b83f9e023413a3ede9175ec /Makerules
parent5f6b4f1db0f14aae1db02779cb9b79c542574563 (diff)
downloadglibc-994431ed53a3a6e73867638755bbe27a832b301b.tar.gz
glibc-994431ed53a3a6e73867638755bbe27a832b301b.tar.xz
glibc-994431ed53a3a6e73867638755bbe27a832b301b.zip
Update.
	* Makerules [AIX] (build-shlib-helper): Precede linker options
	with -Wl.

	* Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index ce79071d6a..8035391db6 100644
--- a/Makerules
+++ b/Makerules
@@ -410,7 +410,7 @@ endef
 else
 ifneq (,$(findstring aix,$(config-os)))
 define build-shlib-helper
-$(LINK.o) -G -bM:SRE -bnoentry -bE:$(<:a=exp) \
+$(LINK.o) -Wl,-G,-bM:SRE,-bnoentry,-bE:$(<:a=exp) \
 	  $(sysdep-LDFLAGS) $(config-LDFLAGS) $(extra-B-$(@F:lib%.so=%).so) \
 	  $(extra-B-$(@F:lib%.so=%).so) $(load-map-file) \
 	  $(LDFLAGS.so) $(LDFLAGS-$(@F:lib%.so=%).so) \