Make sure cobalt gets actually built & installed correctly even when the toplevel build is using std=c++17. Similar to the fix for msm. https://bugs.gentoo.org/977237 --- a/libs/cobalt/build/Jamfile +++ a/libs/cobalt/build/Jamfile @@ -21,6 +21,7 @@ explicit project : requirements BOOST_ASIO_NO_DEPRECATED + gcc:"-std=c++20 -fcoroutines" msvc:_SCL_SECURE_NO_WARNINGS msvc:_CRT_SECURE_NO_DEPRECATE msvc:/bigobj @@ -57,9 +57,6 @@ lib boost_cobalt : cobalt_sources : requirements BOOST_COBALT_SOURCE=1 shared:BOOST_COBALT_DYN_LINK=1 - [ requires - cxx20_hdr_concepts - ] boost-container:/boost/container//boost_container [ check-target-builds $(config-binding:D)//cpp_lib_memory_resource --- a/libs/cobalt/test/Jamfile.jam +++ a/libs/cobalt/test/Jamfile.jam @@ -10,6 +10,7 @@ import boost-cobalt ; project : requirements BOOST_ASIO_NO_DEPRECATED + gcc:"-std=c++20 -fcoroutines" msvc:_SCL_SECURE_NO_WARNINGS msvc:_CRT_SECURE_NO_DEPRECATE msvc:/bigobj