diff options
author | Charles Davis <cdavis5x@gmail.com> | 2018-09-04 17:40:26 +0000 |
---|---|---|
committer | Charles Davis <cdavis5x@gmail.com> | 2018-09-04 17:40:26 +0000 |
commit | 7a474b65791685ddc16d80d0b447691fa6eee165 (patch) | |
tree | 86ccaeba901dcca2a229165babed6f0cee2c71f9 /libunwind | |
parent | 4d46fde6790815c63d5eb1419e3f1fd7b2c83078 (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
llvm-svn: 341388
Diffstat (limited to 'libunwind')
-rw-r--r-- | libunwind/src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libunwind/src/CMakeLists.txt b/libunwind/src/CMakeLists.txt index 8731ed7948e7..a5e608429b7a 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) |