diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-12-02 17:06:08 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-12-02 17:06:08 +0300 |
commit | 18583eaa2c6fa769ce80605422fa10a60d353af7 (patch) | |
tree | 4b6730afc2006e86ae8b91c8c4cf52b313b5c188 /debian/patches/kfreebsd/kfreebsd-libcxx-threads-detection.diff | |
download | llvm-toolchain-8-18583eaa2c6fa769ce80605422fa10a60d353af7.tar.gz |
Import llvm-toolchain-8 (1:8.0.1-4)debian/8.0.1-4debian
Diffstat (limited to 'debian/patches/kfreebsd/kfreebsd-libcxx-threads-detection.diff')
-rw-r--r-- | debian/patches/kfreebsd/kfreebsd-libcxx-threads-detection.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/kfreebsd/kfreebsd-libcxx-threads-detection.diff b/debian/patches/kfreebsd/kfreebsd-libcxx-threads-detection.diff new file mode 100644 index 0000000..ae37db2 --- /dev/null +++ b/debian/patches/kfreebsd/kfreebsd-libcxx-threads-detection.diff @@ -0,0 +1,12 @@ +Index: llvm-toolchain-7-7.0.1/libcxx/include/__config +=================================================================== +--- llvm-toolchain-7-7.0.1.orig/libcxx/include/__config ++++ llvm-toolchain-7-7.0.1/libcxx/include/__config +@@ -1107,6 +1107,7 @@ _LIBCPP_FUNC_VIS extern "C" void __sanit + !defined(_LIBCPP_HAS_THREAD_API_WIN32) && \ + !defined(_LIBCPP_HAS_THREAD_API_EXTERNAL) + # if defined(__FreeBSD__) || \ ++ defined(__FreeBSD_kernel__) || \ + defined(__Fuchsia__) || \ + defined(__NetBSD__) || \ + defined(__linux__) || \ |