aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-05-18 14:28:16 -0400
committerJason Merrill <jason@redhat.com>2020-05-18 14:29:18 -0400
commit5329b59a2e13dabbe2038af0fe2e3cf5fc7f98ed (patch)
treeb5c78d4c1858c2bcda7f6fdd7ef5133d978019ec /gcc/configure.ac
parente5abd1cb9160619721336ed800779a01548231f1 (diff)
downloadgcc-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 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 953b464..60d83c3 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -385,6 +385,9 @@ AC_SUBST(PICFLAG_FOR_TARGET)
# -------------------------
AC_USE_SYSTEM_EXTENSIONS
+
+AX_CXX_COMPILE_STDCXX(11)
+
AC_PROG_CPP
AC_C_INLINE