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
This commit is contained in:
Paolo Bonzini 2011-08-12 17:13:04 +00:00 committed by Paolo Bonzini
parent 10c241af69
commit 1563503deb
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
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>
* Makefile.in (install-unwind_h): Remove destination file first.

View File

@ -991,9 +991,10 @@ gcc-extra-parts:
all: $(extra-parts)
install-unwind_h:
rm -f $(gcc_objdir)/include/unwind.h
cp unwind.h $(gcc_objdir)/include/unwind.h
chmod a+r $(gcc_objdir)/include/unwind.h
dest=$(gcc_objdir)/include/tmp$$$$-unwind.h; \
cp unwind.h $$dest; \
chmod a+r $$dest; \
sh $(srcdir)/../move-if-change $$dest $(gcc_objdir)/include/unwind.h
all: install-unwind_h