This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libgo patch committed: Make sure directory exists


This patch to the libgo Makefile makes sure that the directory where we
place a .o file exists before we try to use it.  Bootstrapped on
x86_64-unknown-linux-gnu.  Committed to mainline and 4.7 branch.

Ian

diff -r e746e3770f15 libgo/Makefile.am
--- a/libgo/Makefile.am	Sun Apr 22 13:07:04 2012 -0700
+++ b/libgo/Makefile.am	Mon Apr 23 09:58:40 2012 -0700
@@ -2854,6 +2854,7 @@
 log/syslog.lo: $(go_log_syslog_files)
 	$(BUILDPACKAGE)
 log/syslog/syslog_c.lo: $(go_syslog_c_files) log/syslog.lo
+	@$(MKDIR_P) log/syslog
 	$(LTCOMPILE) -c -o $@ $(srcdir)/go/log/syslog/syslog_c.c
 log/syslog/check: $(CHECK_DEPS)
 	@$(MKDIR_P) log/syslog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]