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.
This commit is contained in:
parent
f8dc745f6e
commit
16b1ad29ea
3 changed files with 18 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
||||||
2009-09-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
2009-09-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
|
* configure.ac: If bootstrapping a combined tree with
|
||||||
|
--enable-gold, require c++ in stage1_languages.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
* configure.ac: Also add target_libs of stage1_languages to
|
* configure.ac: Also add target_libs of stage1_languages to
|
||||||
bootstrap_target_libs.
|
bootstrap_target_libs.
|
||||||
* configure: Regenerate.
|
* configure: Regenerate.
|
||||||
|
|
7
configure
vendored
7
configure
vendored
|
@ -6584,6 +6584,13 @@ case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
|
||||||
;;
|
;;
|
||||||
esac
|
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.
|
# Adjust the toplevel makefile according to whether bootstrap was selected.
|
||||||
case $enable_bootstrap in
|
case $enable_bootstrap in
|
||||||
yes)
|
yes)
|
||||||
|
|
|
@ -2470,6 +2470,13 @@ case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
|
||||||
|
yes:yes:*\ gold\ *:*,c++,*) ;;
|
||||||
|
yes:yes:*\ gold\ *:*)
|
||||||
|
AC_MSG_ERROR([in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages])
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Adjust the toplevel makefile according to whether bootstrap was selected.
|
# Adjust the toplevel makefile according to whether bootstrap was selected.
|
||||||
case $enable_bootstrap in
|
case $enable_bootstrap in
|
||||||
yes)
|
yes)
|
||||||
|
|
Loading…
Add table
Reference in a new issue