summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-07-06 18:28:32 +0000
committerRoland McGrath <roland@gnu.org>1995-07-06 18:28:32 +0000
commit1f4a4317e1bafb185a22951f7921af4f9673811e (patch)
tree66a7f8a397c9abb263f87400c0178b921146f41e /elf
parente7233b09e923529da0dafb62513ed156a004200e (diff)
downloadglibc-1f4a4317e1bafb185a22951f7921af4f9673811e.tar.gz
glibc-1f4a4317e1bafb185a22951f7921af4f9673811e.tar.xz
glibc-1f4a4317e1bafb185a22951f7921af4f9673811e.zip
(libdl.so): Pass $(LDFLAGS.so).
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile
index e0ae40b9fd..b0923b2b6d 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -51,4 +51,5 @@ $(objpfx)ld.so: $(rtld-routines:%=$(objpfx)%.so) \
 $(objpfx)libdl.so: $(objpfx)libdl_pic.a $(common-objpfx)libc.so $(objpfx)ld.so
 	$(patsubst %/,cd %;,$(objpfx)) \
 	$(LINK.o) -shared -o $(@:$(objpfx)%=%) \
-		  $(LDFLAGS-dl.so) -Wl,--whole-archive $(^:$(objpfx)%=%)
+		  $(LDFLAGS.so) $(LDFLAGS-dl.so) \
+		  -Wl,--whole-archive $(^:$(objpfx)%=%)