diff options
author | Petr Hosek <phosek@google.com> | 2025-07-09 00:48:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-09 00:48:50 -0700 |
commit | 9d3b60dea7ad81f6cb0d9f2e51bb6c80c03fa2d4 (patch) | |
tree | b7eb46b629d5b9ec3334fedd6bc4a0aca9eb2e70 /libcxx/src | |
parent | 2d424e633349fc0e22a1242978989c82aa4895d4 (diff) | |
download | llvm-9d3b60dea7ad81f6cb0d9f2e51bb6c80c03fa2d4.zip llvm-9d3b60dea7ad81f6cb0d9f2e51bb6c80c03fa2d4.tar.gz llvm-9d3b60dea7ad81f6cb0d9f2e51bb6c80c03fa2d4.tar.bz2 |
[libcxxabi][libunwind] Support for using LLVM libc (#134893)
This generalizes the support added in #99287 renaming the option to
RUNTIMES_USE_LIBC and integrating the module into libc++abi and
libunwind as well.
Diffstat (limited to 'libcxx/src')
-rw-r--r-- | libcxx/src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/CMakeLists.txt b/libcxx/src/CMakeLists.txt index 4e9bf90..97fe57a 100644 --- a/libcxx/src/CMakeLists.txt +++ b/libcxx/src/CMakeLists.txt @@ -175,7 +175,7 @@ include(FindLibcCommonUtils) # Build the shared library. add_library(cxx_shared SHARED ${LIBCXX_SOURCES} ${LIBCXX_HEADERS}) target_include_directories(cxx_shared PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) -target_link_libraries(cxx_shared PUBLIC cxx-headers libcxx-libc-shared +target_link_libraries(cxx_shared PUBLIC cxx-headers runtimes-libc-shared PRIVATE ${LIBCXX_LIBRARIES} PRIVATE llvm-libc-common-utilities) set_target_properties(cxx_shared @@ -266,7 +266,7 @@ set(CMAKE_STATIC_LIBRARY_PREFIX "lib") # Build the static library. add_library(cxx_static STATIC ${LIBCXX_SOURCES} ${LIBCXX_HEADERS}) target_include_directories(cxx_static PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) -target_link_libraries(cxx_static PUBLIC cxx-headers libcxx-libc-static +target_link_libraries(cxx_static PUBLIC cxx-headers runtimes-libc-static PRIVATE ${LIBCXX_LIBRARIES} PRIVATE libcxx-abi-static PRIVATE llvm-libc-common-utilities) |