]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - configure.ac
bootstrap: Update requirement to C++11.
[thirdparty/gcc.git] / configure.ac
index c78d9cbea62d75c75e0ebe0f8efc6dbbe13c4fcc..a67801371a4eabd38e5d99398e17134e5166447c 100644 (file)
@@ -1462,10 +1462,10 @@ case "$have_compiler:$host:$target:$enable_bootstrap" in
     ;;
 esac
 
-# When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
-# C++98 compiler can still start the bootstrap.
+# When bootstrapping with GCC, build stage 1 in C++11 mode to ensure that a
+# C++11 compiler can still start the bootstrap.
 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
-  CXX="$CXX -std=gnu++98"
+  CXX="$CXX -std=c++11"
 fi
 
 # Used for setting $lt_cv_objdir