Fix Cygwin builds after enabling c++17 mode.

Remove the "noext" argument to AX_CXX_COMPILE_STDCXX(), so the configure
script can figure out what works, instead of only allowing strict
conformance mode.

See discussion on https://crrev.com/c/3954471, which lead to this CL.

Change-Id: I7688db2e267485003ae8f776fa3ca0dd63205b47
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/4072453
Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
Lei Zhang 2022-12-01 15:02:51 -08:00
parent dd0ca9d70a
commit b024566c44
2 changed files with 1638 additions and 1 deletions

1637
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -75,7 +75,7 @@ AC_CHECK_FUNCS([arc4random getcontext getrandom memfd_create])
AM_CONDITIONAL([HAVE_GETCONTEXT], [test "x$ac_cv_func_getcontext" = xyes]) AM_CONDITIONAL([HAVE_GETCONTEXT], [test "x$ac_cv_func_getcontext" = xyes])
AM_CONDITIONAL([HAVE_MEMFD_CREATE], [test "x$ac_cv_func_memfd_create" = xyes]) AM_CONDITIONAL([HAVE_MEMFD_CREATE], [test "x$ac_cv_func_memfd_create" = xyes])
AX_CXX_COMPILE_STDCXX(17, noext, mandatory) AX_CXX_COMPILE_STDCXX(17, , mandatory)
dnl Test supported warning flags. dnl Test supported warning flags.
WARN_CXXFLAGS= WARN_CXXFLAGS=