Patchwork [gccgo] Check lang_requires_boot_languages for stage 2 also

login
register
mail settings
Submitter Ian Taylor
Date Nov. 15, 2010, 5:30 p.m.
Message ID <mcrvd3yh4us.fsf@google.com>
Download mbox | patch
Permalink /patch/71257/
State New
Headers show

Comments

Ian Taylor - Nov. 15, 2010, 5:30 p.m.
This simple gccgo patch checks lang_requires_boot_languages for stages 2
and 3 as well as stage 1.  This fixes a bootstrap with
--enable-languages=c,go.  Committed to gccgo branch.

Ian

Patch

Index: configure.ac
===================================================================
--- configure.ac	(revision 166675)
+++ configure.ac	(working copy)
@@ -1878,7 +1878,7 @@  if test -d ${srcdir}/gcc; then
         lang_requires=
         lang_requires_boot_languages=
         . ${lang_frag}
-        for other in ${lang_requires} ; do
+        for other in ${lang_requires} ${lang_requires_boot_languages}; do
           case ,${enable_languages}, in
 	    *,$other,*) ;;
 	    *,all,*) ;;