Selaa lähdekoodia

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.

Manuel Novoa III 20 vuotta sitten
vanhempi
commit
8d38283b9c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      libc/Makefile

+ 1 - 1
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)