Index: newlib/libc/Makefile.am |
diff --git a/newlib/libc/Makefile.am b/newlib/libc/Makefile.am |
index 21a74fe78a9455bf54800e6b74e28f35c19f195f..a859d8447ff75b28dc1ac6f299b21527a3457e2f 100644 |
--- a/newlib/libc/Makefile.am |
+++ b/newlib/libc/Makefile.am |
@@ -117,9 +117,9 @@ endif # USE_LIBTOOL |
$(SUBLIBS): ; @true |
-crt0.o: sys/crt0.o |
+crt0.o: $(wildcard sys/crt0.o) |
rm -f $@ |
- ln sys/crt0.o $@ >/dev/null 2>/dev/null || cp sys/crt0.o $@ |
+ if test -f sys/crt0.o; then ln sys/crt0.o $@ >/dev/null 2>/dev/null || cp sys/crt0.o $@; fi |
sys/crt0.o: ; @true |