From 8d38283b9c7c156f133d1a2acac841835cb958bc Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Wed, 14 Jan 2004 09:14:47 +0000 Subject: Ok.. we need to link with libgcc.a for some archs. I haven't looked at all cases, but the archs I've looked at do build the needed routines as PIC so we should be ok. --- libc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/Makefile') diff --git a/libc/Makefile b/libc/Makefile index e46b633b7..cb64ea1bd 100644 --- a/libc/Makefile +++ b/libc/Makefile @@ -58,7 +58,7 @@ shared: $(TOPDIR)lib/$(LIBNAME) $(LD) $(LDFLAGS) $(VERSION_SCRIPT) -soname=$(SHARED_MAJORNAME) -o $(SHARED_FULLNAME) \ --whole-archive $(LIBNAME) \ $(TOPDIR)libc/misc/internals/interp.o --no-whole-archive \ - -init __uClibc_init + -init __uClibc_init $(LIBGCC) @true #$(RM) -r tmp $(INSTALL) -d $(TOPDIR)lib $(RM) $(TOPDIR)lib/$(SHARED_FULLNAME) -- cgit v1.2.3