We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8ce76f commit a29e623Copy full SHA for a29e623
compiler-rt/cmake/Modules/AddCompilerRT.cmake
@@ -713,6 +713,9 @@ macro(add_custom_libcxx name prefix)
713
USES_TERMINAL_INSTALL 1
714
LIST_SEPARATOR |
715
EXCLUDE_FROM_ALL TRUE
716
+ # Ensure that DESTDIR=... 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
719
INSTALL_BYPRODUCTS "${prefix}/lib/libc++.a" "${prefix}/lib/libc++abi.a"
720
)
721
0 commit comments