[gccgo] Check lang_requires_boot_languages for stage 2 also

Submitted by Ian Taylor on Nov. 15, 2010, 5:30 p.m.

Details

Message ID mcrvd3yh4us.fsf@google.com
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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,*) ;;