add sci-electronics/qflow
[nodoc-overlay.git] / dev-libs / boost-static / files / boost-static-1.90.0-cobalt.patch
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
4
5 --- a/libs/cobalt/build/Jamfile
6 +++ a/libs/cobalt/build/Jamfile
7 @@ -21,6 +21,7 @@ explicit
8
9 project : requirements
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
16 : cobalt_sources
17 : requirements <define>BOOST_COBALT_SOURCE=1
18 <link>shared:<define>BOOST_COBALT_DYN_LINK=1
19 - [ requires
20 - cxx20_hdr_concepts
21 - ]
22 <boost.cobalt.pmr>boost-container:<library>/boost/container//boost_container
23 [ check-target-builds
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 ;
28
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