build: no-longer allow GCC-10 in C++20 check

Reverts part of fa67f096bd, now that we
require a minimum of GCC 11.

See also:
https://github.com/bitcoin/bitcoin/pull/28349#issuecomment-1745143612.
This commit is contained in:
fanquake 2024-06-05 10:32:44 +01:00
parent 23b3dc2dd1
commit 232928b58a
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -983,7 +983,7 @@ m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_20], [[
#error "This is not a C++ compiler"
#elif __cplusplus < 201709L // Temporary patch on top of upstream to allow g++-10
#elif __cplusplus < 202002L
#error "This is not a C++20 compiler"