summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-01-14 09:14:47 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-01-14 09:14:47 +0000
commit8d38283b9c7c156f133d1a2acac841835cb958bc (patch)
tree7895665aa50ecca06c8246f36748a723f61a55c8 /libc
parent5dd9f2af4bcc23c86d1d4f4a5574c20d7faff949 (diff)
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.
Diffstat (limited to 'libc')
-rw-r--r--libc/Makefile2
1 files changed, 1 insertions, 1 deletions
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)