diff options
author | Catherine Moore <Catherine_moore@mentor.com> | 2017-05-25 14:45:54 +0000 |
---|---|---|
committer | Catherine Moore <Catherine_moore@mentor.com> | 2017-05-25 14:45:54 +0000 |
commit | 41e921aae202b41ccb0dde05e824bcd6f7f3e0b6 (patch) | |
tree | 5f4b595463dc0f6ea68419cacd3a19a8f6214b40 /lib/builtins/CMakeLists.txt | |
parent | a568c294917d4a2d20b3afd7cfb47fd49a640ece (diff) |
[cmake] Disable building emutls.c for baremetal targets.
Differential Revision: https://reviews.llvm.org/D33199
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@303865 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/CMakeLists.txt')
-rw-r--r-- | lib/builtins/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/builtins/CMakeLists.txt b/lib/builtins/CMakeLists.txt index df80a5044..02c5b48dd 100644 --- a/lib/builtins/CMakeLists.txt +++ b/lib/builtins/CMakeLists.txt @@ -163,8 +163,7 @@ set(GENERIC_SOURCES udivti3.c umoddi3.c umodsi3.c - umodti3.c - emutls.c) + umodti3.c) set(GENERIC_TF_SOURCES comparetf2.c @@ -193,6 +192,7 @@ option(COMPILER_RT_EXCLUDE_ATOMIC_BUILTIN if(NOT COMPILER_RT_BAREMETAL_BUILD) set(GENERIC_SOURCES ${GENERIC_SOURCES} + emutls.c enable_execute_stack.c) endif() |