forked from OSchip/llvm-project
Reland "[clang-tools-extra] fix the check for if '-latomic' is necessary""
The buildbot failures on MSVC should have been fixed by f128f442a3
.
This commit is contained in:
parent
d9e8b2cbcc
commit
351ed50dcb
|
@ -30,7 +30,7 @@ if(CLANG_BUILT_STANDALONE)
|
|||
endif()
|
||||
|
||||
set(CLANGD_ATOMIC_LIB "")
|
||||
if(NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB)
|
||||
if(NOT HAVE_CXX_ATOMICS_WITHOUT_LIB OR NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB)
|
||||
list(APPEND CLANGD_ATOMIC_LIB "atomic")
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue