mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-24 16:52:42 +00:00

D54079-hurd-openmp.diff, D54338-hurd-libcxx-threads-build.diff, D54339-hurd-libcxx-threads-detection.diff, D54378-hurd-triple.diff, D54379-hurd-triple-clang.diff, D54677-hurd-path_max.diff, hurd-cxx-paths.diff
19 lines
609 B
Diff
19 lines
609 B
Diff
Fix threads detection on GNU/Hurd
|
|
|
|
GNU/Hurd provides standard Posix threads
|
|
|
|
https://reviews.llvm.org/D54339
|
|
|
|
Index: llvm-toolchain-7-7/libcxx/include/__config
|
|
===================================================================
|
|
--- llvm-toolchain-7-7.orig/libcxx/include/__config
|
|
+++ llvm-toolchain-7-7/libcxx/include/__config
|
|
@@ -1110,6 +1110,7 @@ _LIBCPP_FUNC_VIS extern "C" void __sanit
|
|
defined(__Fuchsia__) || \
|
|
defined(__NetBSD__) || \
|
|
defined(__linux__) || \
|
|
+ defined(__GNU__) || \
|
|
defined(__APPLE__) || \
|
|
defined(__CloudABI__) || \
|
|
defined(__sun__) || \
|