diff --git a/configure.ac b/configure.ac index d7621ac01..4f4fb6432 100644 --- a/configure.ac +++ b/configure.ac @@ -376,6 +376,7 @@ AC_SUBST(CFG_CXXFLAGS_WEXTRA) _MY_CXX_CHECK_SET(CFG_CXXFLAGS_COROUTINES,-fcoroutines-ts) _MY_CXX_CHECK_SET(CFG_CXXFLAGS_COROUTINES,-fcoroutines) _MY_CXX_CHECK_SET(CFG_CXXFLAGS_COROUTINES,-fcoroutines-ts -Wno-deprecated-experimental-coroutine) +_MY_CXX_CHECK_SET(CFG_CXXFLAGS_COROUTINES,-std=gnu++20) AC_SUBST(CFG_CXXFLAGS_COROUTINES) # HAVE_COROUTINES