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
(cherry picked from commit
20132d8eaa68a6c53e152718beda1dc0f4c9ff6c)
include(TableGen)
include(HandleLLVMOptions)
include(VersionFromVCS)
+ include(CheckAtomic)
include(GetErrcMessages)
include(LLVMDistributionSupport)
omp_gen
)
+target_link_libraries(clangBasic
+ PRIVATE
+ ${LLVM_ATOMIC_LIB}
+)