Skip to content

Commit

Permalink
[libc] Fix issue introduces by #76449
Browse files Browse the repository at this point in the history
Use correct CMake variable.
  • Loading branch information
petrhosek committed Jan 22, 2024
1 parent be0fa31 commit 04c8558
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libc/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ add_custom_target(install-libc
${header_install_target}
COMMAND "${CMAKE_COMMAND}"
-DCMAKE_INSTALL_COMPONENT=libc
-P "${LIBCXX_BINARY_DIR}/cmake_install.cmake")
-P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
add_custom_target(install-libc-stripped
DEPENDS ${added_archive_targets}
${startup_target}
${header_install_target}
COMMAND "${CMAKE_COMMAND}"
-DCMAKE_INSTALL_COMPONENT=libc
-DCMAKE_INSTALL_DO_STRIP=1
-P "${LIBCXX_BINARY_DIR}/cmake_install.cmake")
-P "${CMAKE_BINARY_DIR}/cmake_install.cmake")

0 comments on commit 04c8558

Please sign in to comment.