From 5fa70fa1700606facab2d2147cc1de63c2663ae3 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 25 Oct 2002 13:28:29 +0000 Subject: Be nicer to gcc -- add a link for crt1.o --- libc/sysdeps/linux/common/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile index d91b4981d..c5c420678 100644 --- a/libc/sysdeps/linux/common/Makefile +++ b/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 -- cgit v1.2.3