summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-10-25 13:28:29 +0000
committerEric Andersen <andersen@codepoet.org>2002-10-25 13:28:29 +0000
commit5fa70fa1700606facab2d2147cc1de63c2663ae3 (patch)
treefe09a951da5dd8d61bbb47b65f14c24b66d5a8a7 /libc
parent9b903852674032998a2a2a473881be5418f06914 (diff)
Be nicer to gcc -- add a link for crt1.o
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/Makefile1
1 files changed, 1 insertions, 0 deletions
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