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 committed 2024-06-05 10:47:52 +01:00
1 parent 23b3dc2dd1
commit 232928b58a
1 file changed
+1 -1
+1 -1
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"