summaryrefslogtreecommitdiff
path: root/libc/lib
diff options
context:
space:
mode:
authorSiva Chandra Reddy <sivachandra@google.com>2023-01-31 07:08:49 +0000
committerSiva Chandra Reddy <sivachandra@google.com>2023-01-31 07:46:29 +0000
commit0bb5f0a1f60b3440cc47011fee6ec8f37b5832d6 (patch)
treed493bc3bab26f81d2e7ea5493c59e08f5320c500 /libc/lib
parent4308166403b4c28b6db7094a4e202e42da6e28a8 (diff)
downloadllvm-0bb5f0a1f60b3440cc47011fee6ec8f37b5832d6.tar.gz
[libc] Unify full build and default build static archive targets to just "libc".
Diffstat (limited to 'libc/lib')
-rw-r--r--libc/lib/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/lib/CMakeLists.txt b/libc/lib/CMakeLists.txt
index c91097d5bc7a..b76fe41a22d3 100644
--- a/libc/lib/CMakeLists.txt
+++ b/libc/lib/CMakeLists.txt
@@ -1,10 +1,10 @@
add_entrypoint_library(
- ${LIBC_TARGET}
+ libc
DEPENDS
${TARGET_LLVMLIBC_ENTRYPOINTS}
)
set_target_properties(
- ${LIBC_TARGET}
+ libc
PROPERTIES
ARCHIVE_OUTPUT_NAME ${LIBC_ARCHIVE_NAME}
)
@@ -19,13 +19,13 @@ else()
endif()
install(
- TARGETS ${LIBC_TARGET}
+ TARGETS libc
ARCHIVE DESTINATION ${LIBC_INSTALL_LIBRARY_DIR}
COMPONENT libc-static-archives
)
add_llvm_install_targets(
install-libc-static-archives
- DEPENDS ${LIBC_TARGET}
+ DEPENDS libc
COMPONENT libc-static-archives
)