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/clangd-atomic-cmake.patch | |
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/clangd-atomic-cmake.patch')
-rw-r--r-- | debian/patches/clangd-atomic-cmake.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/clangd-atomic-cmake.patch b/debian/patches/clangd-atomic-cmake.patch new file mode 100644 index 0000000..6529d56 --- /dev/null +++ b/debian/patches/clangd-atomic-cmake.patch @@ -0,0 +1,16 @@ +Index: llvm-toolchain-snapshot_8~svn346586/clang-tools-extra/clangd/CMakeLists.txt +=================================================================== +--- llvm-toolchain-snapshot_8~svn346586.orig/clang-tools-extra/clangd/CMakeLists.txt ++++ llvm-toolchain-snapshot_8~svn346586/clang-tools-extra/clangd/CMakeLists.txt +@@ -7,6 +7,11 @@ if(NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB) + list(APPEND CLANGD_ATOMIC_LIB "atomic") + endif() + ++if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "i386" OR ++ CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "i686") ++ list(APPEND CLANGD_ATOMIC_LIB "atomic") ++endif() ++ + add_clang_library(clangDaemon + AST.cpp + Cancellation.cpp |