llvm-toolchain/debian/patches/D54339-hurd-libcxx-threads-detection.diff
Samuel Thibault 3c22b2707e New patches to fix hurd build.
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
2018-11-18 23:48:53 +01:00

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__) || \