summaryrefslogtreecommitdiff
path: root/libcxx/lib
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2022-03-01 08:42:13 -0500
committerLouis Dionne <ldionne.2@gmail.com>2022-05-13 08:32:09 -0400
commita80e65e00ada7a9c16acf17a5fd40b4f12ced3a8 (patch)
tree4353e52081ad05a3ef0890c95c5e8378a8e0fc6b /libcxx/lib
parent4be105c98a9c7e083cd878ee1751e11160b97b4a (diff)
downloadllvm-a80e65e00ada7a9c16acf17a5fd40b4f12ced3a8.tar.gz
[libc++] Overhaul how we select the ABI library
This patch overhauls how we pick up the ABI library. Instead of setting ad-hoc flags, it creates interface targets that can be linked against by the rest of the build, which is easier to follow and extend to support new ABI libraries. This is intended to be a NFC change, however there are some additional simplifications and improvements we can make in the future that would require a slight behavior change. Differential Revision: https://reviews.llvm.org/D120727
Diffstat (limited to 'libcxx/lib')
-rw-r--r--libcxx/lib/abi/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/lib/abi/CMakeLists.txt b/libcxx/lib/abi/CMakeLists.txt
index a2d41e10de13..a06678a8eece 100644
--- a/libcxx/lib/abi/CMakeLists.txt
+++ b/libcxx/lib/abi/CMakeLists.txt
@@ -57,7 +57,7 @@ else()
endif()
cxx_abi_list_identifier(abi_list_identifier
"${triple}"
- "${LIBCXX_CXX_ABI_LIBNAME}"
+ "${LIBCXX_CXX_ABI}"
"${LIBCXX_ABI_VERSION}"
"${LIBCXX_ABI_UNSTABLE}"
"${LIBCXX_ENABLE_EXCEPTIONS}"