bfgroup / b2

B2 makes it easy to build C++ projects, everywhere.
https://www.bfgroup.xyz/b2/
Boost Software License 1.0
76 stars 228 forks source link

mingw/msys/cygwin winthreads/pthread fixes #284

Closed Kojoley closed 1 year ago

Kojoley commented 1 year ago

-mthreads is obsolete and is not presented in clang, and was never a thing in cygwin (fixes #38).

I have no idea why clang was configured to add -pthread on threadapi=win32, changing this is a breaking change but is the right thing to do. I run Boost.Thread tests and it passed cleanly on both threadapi=win32 and threadapi=pthread.

grafikrobot commented 1 year ago

/backport

github-actions[bot] commented 1 year ago

Successfully created backport PR for version/4.10.0: