Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1632)

Unified Diff: newlib/libc/Makefile.am

Issue 1377003003: Specify output explicitly for the .c.o compile rule (Closed) Base URL: https://chromium.googlesource.com/native_client/nacl-newlib.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« newlib/Makefile.am ('K') | « newlib/Makefile.in ('k') | newlib/libc/Makefile.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698