add dev-libs/boost with static-libs support via an additional ebuild
[nodoc-overlay.git] / dev-libs / boost-static / files / boost-1.89.0-unordered-no-tbb.patch
1 Disable use of TBB aka OneAPI for tests due to some undiagnosed inclusion
2 and/or linker issue: https://github.com/boostorg/unordered/issues/222
3
4 --- boost_1_89_0/libs/unordered/test/Jamfile.v2~
5 +++ boost_1_89_0/libs/unordered/test/Jamfile.v2
6 @@ -39,6 +39,8 @@ project
7 <toolset>gcc:<warnings-as-errors>on
8 <toolset>clang:<warnings-as-errors>on
9 <toolset>msvc:<warnings-as-errors>on
10 +
11 + <cxxflags>-DBOOST_UNORDERED_DISABLE_PARALLEL_ALGORITHMS
12 ;
13
14 path-constant BOOST_UNORDERED_TEST_DIR : . ;