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

Unified Diff: newlib/libc/sys/Makefile.in

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/sys/Makefile.in
diff --git a/newlib/libc/sys/Makefile.in b/newlib/libc/sys/Makefile.in
index 5d41f1071d83241309a077a5f57bc207876e4d9a..04b62730ff0146658a45b4ebe36bc13d02292248 100644
--- a/newlib/libc/sys/Makefile.in
+++ b/newlib/libc/sys/Makefile.in
@@ -582,10 +582,10 @@ uninstall-am:
$(sys_dir)/libsys.$(aext): ; @true
-$(CRT0): $(sys_dir)/$(CRT0)
+$(CRT0): $(wildcard $(sys_dir)/$(CRT0))
rm -f $@
- ln $(sys_dir)/$(CRT0) $@ >/dev/null 2>/dev/null \
- || cp $(sys_dir)/$(CRT0) $@
+ if test -f $(sys_dir)/$(CRT0); then ln $(sys_dir)/$(CRT0) $@ >/dev/null 2>/dev/null \
+ || cp $(sys_dir)/$(CRT0) $@; fi
$(sys_dir)/$(CRT0): ; @true

Powered by Google App Engine
This is Rietveld 408576698