From 8cd7c61d649de736386c306750bafe8877be7d2e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 25 Oct 2002 14:21:29 +0000 Subject: Sigh. Lets not use LD to link, or we lose the INTERP field. -Erik --- libc/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libc/Makefile b/libc/Makefile index 1809779d6..de647fb4c 100644 --- a/libc/Makefile +++ b/libc/Makefile @@ -51,9 +51,9 @@ shared: $(TOPDIR)lib/$(LIBNAME) $(AR) rv ./tmp/libgcc-need.a @(cd tmp && CC=$(CC) LD=$(LD) NM=$(NM) AR=$(AR) \ /bin/sh $(TOPDIR)../extra/scripts/get-needed-libgcc-objects.sh) - $(LD) $(LDFLAGS) $(VERSION_SCRIPT) -soname=$(SHARED_MAJORNAME) -o $(SHARED_FULLNAME) \ - --whole-archive ./tmp/libgcc-need.a $(LIBNAME) --no-whole-archive \ - -init __uClibc_init $(TOPDIR)/libc/misc/internals/interp.o \ + $(CC) $(LDFLAGS) $(VERSION_SCRIPT) -Wl,-soname=$(SHARED_MAJORNAME) -o $(SHARED_FULLNAME) \ + -Wl,--whole-archive ./tmp/libgcc-need.a $(LIBNAME) -Wl,--no-whole-archive \ + -Wl,-init,__uClibc_init $(TOPDIR)/libc/misc/internals/interp.o \ $(LIBGCC) @true #rm -rf tmp install -d $(TOPDIR)lib -- cgit v1.2.3