other/119510 - use --enable-languages=default,cobol for release tarballs

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.

	PR other/119510
maintainer-scripts/
	* gcc_release: Use --enable-languages=default,cobol
	when building generated files.
This commit is contained in:
Richard Biener
2025-03-28 15:20:16 +01:00
committed by Richard Biener
parent dd9ed951f4
commit bb389fb04b

View File

@@ -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