diff mbox

PATCH to ada/gcc-interface/Make-lang.in to fix build issues

Message ID 4F552EBC.2060302@redhat.com
State New
Headers show

Commit Message

Jason Merrill March 5, 2012, 9:23 p.m. UTC
Rebuilding gcc was failing for me because the rule for gnat_ugn.texi was 
trying to use xgnatugn before it had been built.  Fixed by making it 
directly, like the rule for projects.texi.

OK for trunk?

Comments

Eric Botcazou March 5, 2012, 10:06 p.m. UTC | #1
> Rebuilding gcc was failing for me because the rule for gnat_ugn.texi was
> trying to use xgnatugn before it had been built.  Fixed by making it
> directly, like the rule for projects.texi.
>
> OK for trunk?

Yes, thanks.
diff mbox

Patch

commit 2ad07fd7f293027ed3f779fc0d7e79b58a4b7e2a
Author: Jason Merrill <jason@redhat.com>
Date:   Mon Mar 5 16:05:23 2012 -0500

    	* gcc-interface/Make-lang.in (doc/gnat_ugn.texi): Build xgnatugn
    	before using it.

diff --git a/gcc/ada/gcc-interface/Make-lang.in b/gcc/ada/gcc-interface/Make-lang.in
index 06a8803..8a2f346 100644
--- a/gcc/ada/gcc-interface/Make-lang.in
+++ b/gcc/ada/gcc-interface/Make-lang.in
@@ -667,6 +667,7 @@  ada/doctools/xgnatugn$(build_exeext): ada/xgnatugn.adb
 
 doc/gnat_ugn.texi: $(srcdir)/ada/gnat_ugn.texi $(srcdir)/ada/ug_words \
    doc/projects.texi $(gcc_docdir)/include/gcc-common.texi gcc-vers.texi
+	$(MAKE) ada/doctools/xgnatugn$(build_exeext)
 	ada/doctools/xgnatugn unw $(srcdir)/ada/gnat_ugn.texi \
 	   $(srcdir)/ada/ug_words doc/gnat_ugn.texi