Commit 1563503d by Paolo Bonzini Committed by Paolo Bonzini

re PR bootstrap/50047 (Revision 177670 failed to bootstrap)

2011-08-12  Paolo Bonzini  <bonzini@gnu.org>

	PR bootstrap/50047
	* Makefile.in (install-unwind_h): Create
	$(gcc_objdir)/include/unwind.h atomically.

From-SVN: r177706
parent 10c241af
2011-08-12 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/50047
* Makefile.in (install-unwind_h): Create
$(gcc_objdir)/include/unwind.h atomically.
2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* Makefile.in (install-unwind_h): Remove destination file first. * Makefile.in (install-unwind_h): Remove destination file first.
......
...@@ -991,9 +991,10 @@ gcc-extra-parts: ...@@ -991,9 +991,10 @@ gcc-extra-parts:
all: $(extra-parts) all: $(extra-parts)
install-unwind_h: install-unwind_h:
rm -f $(gcc_objdir)/include/unwind.h dest=$(gcc_objdir)/include/tmp$$$$-unwind.h; \
cp unwind.h $(gcc_objdir)/include/unwind.h cp unwind.h $$dest; \
chmod a+r $(gcc_objdir)/include/unwind.h chmod a+r $$dest; \
sh $(srcdir)/../move-if-change $$dest $(gcc_objdir)/include/unwind.h
all: install-unwind_h all: install-unwind_h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment