forked from OSchip/llvm-project
Link libclangBasic against libatomic when necessary.
This is necessary at least on PPC32. Depends on D136280. Bug: https://bugs.gentoo.org/874024 Thanks-to: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Tested-by: erhard_f@mailbox.org <erhard_f@mailbox.org> Differential Revision: https://reviews.llvm.org/D136282
This commit is contained in:
parent
f0b451c77f
commit
20132d8eaa
|
@ -63,6 +63,7 @@ if(CLANG_BUILT_STANDALONE)
|
|||
include(TableGen)
|
||||
include(HandleLLVMOptions)
|
||||
include(VersionFromVCS)
|
||||
include(CheckAtomic)
|
||||
include(GetErrcMessages)
|
||||
include(LLVMDistributionSupport)
|
||||
|
||||
|
|
|
@ -111,3 +111,7 @@ add_clang_library(clangBasic
|
|||
omp_gen
|
||||
)
|
||||
|
||||
target_link_libraries(clangBasic
|
||||
PRIVATE
|
||||
${LLVM_ATOMIC_LIB}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue