diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-10-25 14:21:29 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-10-25 14:21:29 +0000 |
commit | 8cd7c61d649de736386c306750bafe8877be7d2e (patch) | |
tree | 00c46357338e645767e1c429d8e5dc428fa8dbf9 /libc/Makefile | |
parent | 87f912c03f0c71385921970f4c3185908e4922bd (diff) |
Sigh. Lets not use LD to link, or we lose the INTERP field.
-Erik
Diffstat (limited to 'libc/Makefile')
-rw-r--r-- | libc/Makefile | 6 |
1 files 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 |