Skip to content

Commit e336a2a

Browse files
committed
[𝘀𝗽𝗿] initial version
Created using spr 1.3.6-beta.1
1 parent faefedf commit e336a2a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler-rt/cmake/Modules/AddCompilerRT.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,9 @@ macro(add_custom_libcxx name prefix)
713713
USES_TERMINAL_INSTALL 1
714714
LIST_SEPARATOR |
715715
EXCLUDE_FROM_ALL TRUE
716+
# Ensure that DESDIR=... set in the out environment does not affect this
717+
# target (we always need to install to the build directory).
718+
INSTALL_COMMAND env DESTDIR= ${CMAKE_COMMAND} --build ${prefix}/build --target install
716719
INSTALL_BYPRODUCTS "${prefix}/lib/libc++.a" "${prefix}/lib/libc++abi.a"
717720
)
718721

0 commit comments

Comments
 (0)