The following adds cobol to the set of languages built during release
tarball building so the bison and flex generated sources for cobol
are included in the tarball.

OK?

I think an explicit list is better since you'll get an error if
prerequesites for a language are not present instead of silently
disabling it as it is done with =all.  Note this does not fix the
missed texinfo generated files for other languages.  I do have a
RC tarball built with =all, I can see to compare contents between
that and a =default - is that interesting?

        PR other/119510
        * maintainer-scripts/gcc_release: Use --enable-languages=default,cobol
        when building generated files.
---
 maintainer-scripts/gcc_release | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release
index 42bb7f68f17..471a10cc39e 100755
--- a/maintainer-scripts/gcc_release
+++ b/maintainer-scripts/gcc_release
@@ -267,7 +267,7 @@ EOF
       esac
     fi
     contrib/gcc_build -d ${SOURCE_DIRECTORY} -o ${OBJECT_DIRECTORY} \
-      -c "--enable-generated-files-in-srcdir --disable-multilib" \
+      -c "--enable-languages=default,cobol --enable-generated-files-in-srcdir 
--disable-multilib" \
       -m "-j$num_cpus" build || \
       error "Could not rebuild GCC"
   fi
-- 
2.43.0

Reply via email to