Commit 46070488 by Jason Merrill Committed by Jason Merrill

configure.ac: When bootstrapping with GCC, add -std=c++98 to CXX.

	* configure.ac: When bootstrapping with GCC, add -std=c++98 to CXX.
	* configure: Regenerate.

From-SVN: r223692
parent 13ccfea8
2015-05-26 Jason Merrill <jason@redhat.com>
* configure.ac: When bootstrapping with GCC, add -std=c++98 to CXX.
* configure: Regenerate.
2015-05-16 James Bowman <james.bowman@ftdichip.com> 2015-05-16 James Bowman <james.bowman@ftdichip.com>
* configure.ac: FT32 target added. * configure.ac: FT32 target added.
......
...@@ -5407,6 +5407,12 @@ $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;} ...@@ -5407,6 +5407,12 @@ $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
;; ;;
esac esac
# When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
# C++98 compiler can still start the bootstrap.
if test "$enable_bootstrap:$GXX" = "yes:yes"; then
CXX="$CXX -std=c++98"
fi
# Used for setting $lt_cv_objdir # Used for setting $lt_cv_objdir
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
$as_echo_n "checking for objdir... " >&6; } $as_echo_n "checking for objdir... " >&6; }
......
...@@ -1442,6 +1442,12 @@ case "$have_compiler:$host:$target:$enable_bootstrap" in ...@@ -1442,6 +1442,12 @@ case "$have_compiler:$host:$target:$enable_bootstrap" in
;; ;;
esac esac
# When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
# C++98 compiler can still start the bootstrap.
if test "$enable_bootstrap:$GXX" = "yes:yes"; then
CXX="$CXX -std=c++98"
fi
# Used for setting $lt_cv_objdir # Used for setting $lt_cv_objdir
_LT_CHECK_OBJDIR _LT_CHECK_OBJDIR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment