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

Unified Diff: newlib/libc/sys/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/sys/Makefile.am
diff --git a/newlib/libc/sys/Makefile.am b/newlib/libc/sys/Makefile.am
index b6106a6cbf141d966d8007ca34e95c8a224ecb76..06a9fa72e317b206a94efc606758a91e0949af3d 100644
--- a/newlib/libc/sys/Makefile.am
+++ b/newlib/libc/sys/Makefile.am
@@ -22,10 +22,10 @@ endif # USE_LIBTOOL
$(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
« newlib/Makefile.am ('K') | « newlib/libc/Makefile.in ('k') | newlib/libc/sys/Makefile.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698