1 Make sure cobalt gets actually built & installed correctly even when the
2 toplevel build is using std=c++17. Similar to the fix for msm.
3 https://bugs.gentoo.org/977237
5 --- a/libs/cobalt/build/Jamfile
6 +++ a/libs/cobalt/build/Jamfile
7 @@ -21,6 +21,7 @@ explicit
10 <define>BOOST_ASIO_NO_DEPRECATED
11 + <toolset>gcc:<cxxflags>"-std=c++20 -fcoroutines"
12 <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
13 <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
14 <toolset>msvc:<cxxflags>/bigobj
15 @@ -57,9 +57,6 @@ lib boost_cobalt
17 : requirements <define>BOOST_COBALT_SOURCE=1
18 <link>shared:<define>BOOST_COBALT_DYN_LINK=1
22 <boost.cobalt.pmr>boost-container:<library>/boost/container//boost_container
24 $(config-binding:D)//cpp_lib_memory_resource
25 --- a/libs/cobalt/test/Jamfile.jam
26 +++ a/libs/cobalt/test/Jamfile.jam
27 @@ -10,6 +10,7 @@ import boost-cobalt ;
29 project : requirements
30 <define>BOOST_ASIO_NO_DEPRECATED
31 + <toolset>gcc:<cxxflags>"-std=c++20 -fcoroutines"
32 <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
33 <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
34 <toolset>msvc:<cxxflags>/bigobj