summaryrefslogtreecommitdiff
path: root/libunwind
diff options
context:
space:
mode:
authorCharles Davis <cdavis5x@gmail.com>2018-09-04 17:40:26 +0000
committerCharles Davis <cdavis5x@gmail.com>2018-09-04 17:40:26 +0000
commit43384f6902cdbd346f76c9f466eca1986cb28a5b (patch)
treedbfd5f0c3d96a6172528482a1cbd3bf70688088e /libunwind
parent973f6f5aaca993bc2a2428819e7ea397a05b6116 (diff)
[CMake] Remove variable reference that isn't used.
Summary: This variable is never defined, so its value is always empty. Since `libunwind` is needed to build the C++ ABI library in the first place, it should never be linked to the C++ ABI library anyway. Reviewers: mstorsjo, rnk Subscribers: mgorny, christof, cfe-commits Differential Revision: https://reviews.llvm.org/D51644
Diffstat (limited to 'libunwind')
-rw-r--r--libunwind/src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libunwind/src/CMakeLists.txt b/libunwind/src/CMakeLists.txt
index 8731ed7948e..a5e608429b7 100644
--- a/libunwind/src/CMakeLists.txt
+++ b/libunwind/src/CMakeLists.txt
@@ -51,7 +51,7 @@ set(LIBUNWIND_SOURCES
${LIBUNWIND_ASM_SOURCES})
# Generate library list.
-set(libraries ${LIBUNWINDCXX_ABI_LIBRARIES})
+set(libraries)
append_if(libraries LIBUNWIND_HAS_C_LIB c)
append_if(libraries LIBUNWIND_HAS_GCC_S_LIB gcc_s)
append_if(libraries LIBUNWIND_HAS_DL_LIB dl)