From 73f7c4cecacfd20dc52dac766bd7493e321e2c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 14 Oct 2021 11:33:02 +0300 Subject: [PATCH] build-libcxx: Stop hardcoding LIBCXX_HAS_WIN32_THREAD_API Since a8d15a926689c126c4d316788786e0160cfc1d5d in llvm-project (October 5th), libcxx stopped autodetecting pthreads on mingw, making pthreads opt-in instead of opt-out. --- build-libcxx.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/build-libcxx.sh b/build-libcxx.sh index 7f94b59..561ae00 100755 --- a/build-libcxx.sh +++ b/build-libcxx.sh @@ -133,7 +133,6 @@ build_all() { -DCMAKE_RANLIB="$PREFIX/bin/llvm-ranlib" \ -DLLVM_PATH="$LLVM_PATH" \ -DLIBCXX_USE_COMPILER_RT=ON \ - -DLIBCXX_HAS_WIN32_THREAD_API=ON \ -DLIBCXX_ENABLE_SHARED=$SHARED \ -DLIBCXX_ENABLE_STATIC=$STATIC \ -DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=OFF \