[CMake] Add atomic builtins to GENERIC_SOURCES list.
Reviewers: bogner, samsonov
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D13069
llvm-svn: 248322
diff --git a/compiler-rt/lib/builtins/CMakeLists.txt b/compiler-rt/lib/builtins/CMakeLists.txt
index c32d164..b236bb9 100644
--- a/compiler-rt/lib/builtins/CMakeLists.txt
+++ b/compiler-rt/lib/builtins/CMakeLists.txt
@@ -17,6 +17,12 @@
ashlti3.c
ashrdi3.c
ashrti3.c
+ atomic_flag_clear.c
+ atomic_flag_clear_explicit.c
+ atomic_flag_test_and_set.c
+ atomic_flag_test_and_set_explicit.c
+ atomic_signal_fence.c
+ atomic_thread_fence.c
# FIXME: atomic.c may only be compiled if host compiler understands _Atomic
# atomic.c
clear_cache.c