diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-09-21 20:32:37 +0000 |
---|---|---|
committer | Ralf Wildenhues <rwild@gcc.gnu.org> | 2009-09-21 20:32:37 +0000 |
commit | 79cd2b23222991e354e1c4739659484286387d2e (patch) | |
tree | 1a1eaf6129d632a497fcaaef6f718f36be42a4eb /configure | |
parent | ab9dcd0c1e919c915b23f4076d9a10c94068eb02 (diff) | |
download | gcc-79cd2b23222991e354e1c4739659484286387d2e.zip gcc-79cd2b23222991e354e1c4739659484286387d2e.tar.gz gcc-79cd2b23222991e354e1c4739659484286387d2e.tar.bz2 |
Require c++ in stage1_languages with --enable-gold in combined bootstrap.
/:
* configure.ac: If bootstrapping a combined tree with
--enable-gold, require c++ in stage1_languages.
* configure: Regenerate.
From-SVN: r151943
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -6584,6 +6584,13 @@ case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in ;; esac +case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in + yes:yes:*\ gold\ *:*,c++,*) ;; + yes:yes:*\ gold\ *:*) + as_fn_error "in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5 + ;; +esac + # Adjust the toplevel makefile according to whether bootstrap was selected. case $enable_bootstrap in yes) |