diff options
Diffstat (limited to 'libc')
-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 |