Explorar o código

Be nicer to gcc -- add a link for crt1.o

Eric Andersen %!s(int64=24) %!d(string=hai) anos
pai
achega
5fa70fa170
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      libc/sysdeps/linux/common/Makefile

+ 1 - 0
libc/sysdeps/linux/common/Makefile

@@ -51,6 +51,7 @@ $(LIBC): ar-target
 
 ar-target: $(OBJ) $(TOPDIR)lib/crti.o $(TOPDIR)lib/crtn.o
 	$(AR) $(ARFLAGS) $(LIBC) $(OBJ)
+	(cd $(TOPDIR)lib/; ln -s crt0.o crt1.o)
 
 $(MOBJ): $(MSRC)
 	$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o