projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d2a16b
)
Don't compile cxa_thread_atexit.cpp with -DLIBCXX_ENABLE_THREADS=OFF
author
Vitaly Buka
<vitalybuka@google.com>
Fri, 14 Oct 2016 23:51:41 +0000
(23:51 +0000)
committer
Vitaly Buka
<vitalybuka@google.com>
Fri, 14 Oct 2016 23:51:41 +0000
(23:51 +0000)
Reviewers: rmaprath
Subscribers: beanz, mgorny
Differential Revision: https://reviews.llvm.org/D25636
llvm-svn: 284294
libcxxabi/src/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/libcxxabi/src/CMakeLists.txt
b/libcxxabi/src/CMakeLists.txt
index
2e08aa3
..
a45c11b
100644
(file)
--- a/
libcxxabi/src/CMakeLists.txt
+++ b/
libcxxabi/src/CMakeLists.txt
@@
-25,7
+25,7
@@
else()
list(APPEND LIBCXXABI_SOURCES cxa_noexception.cpp)
endif()
-if (UNIX AND NOT (APPLE OR CYGWIN))
+if (
LIBCXXABI_ENABLE_THREADS AND
UNIX AND NOT (APPLE OR CYGWIN))
list(APPEND LIBCXXABI_SOURCES cxa_thread_atexit.cpp)
endif()