diff options
author | Jason Merrill <jason@redhat.com> | 2020-05-18 14:28:16 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-05-18 14:29:18 -0400 |
commit | 5329b59a2e13dabbe2038af0fe2e3cf5fc7f98ed (patch) | |
tree | b5c78d4c1858c2bcda7f6fdd7ef5133d978019ec /configure.ac | |
parent | e5abd1cb9160619721336ed800779a01548231f1 (diff) | |
download | gcc-5329b59a2e13dabbe2038af0fe2e3cf5fc7f98ed.zip gcc-5329b59a2e13dabbe2038af0fe2e3cf5fc7f98ed.tar.gz gcc-5329b59a2e13dabbe2038af0fe2e3cf5fc7f98ed.tar.bz2 |
bootstrap: Update requirement to C++11.
There was general agreement last November that we would move to allowing
C++11 features to be used in GCC 11; this patch implements that direction.
ChangeLog
2020-05-18 Jason Merrill <jason@redhat.com>
* configure.ac: Update bootstrap dialect to -std=c++11.
config/ChangeLog
2020-05-18 Jason Merrill <jason@redhat.com>
* ax_cxx_compile_stdcxx.m4: Import from autoconf archive with
an adjustment to try the default mode.
gcc/ChangeLog
2020-05-18 Jason Merrill <jason@redhat.com>
* aclocal.m4: Add ax_cxx_compile_stdcxx.m4.
* configure.ac: Use AX_CXX_COMPILE_STDCXX(11).
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index c78d9cb..a678013 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |