Skip to content

Commit 1ad920f

Browse files
committedNov 6, 2023
[compiler-rt] Pass CMAKE_TOOLCHAIN_FILE through to custom libc++ build
This can be used to configure runtimes builds (instead of setting flags individually), and we need to pass it down to the custom libc++ build for it to work correctly.
1 parent 7f031d1 commit 1ad920f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎compiler-rt/cmake/Modules/AddCompilerRT.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,7 @@ macro(add_custom_libcxx name prefix)
643643
CMAKE_STRIP
644644
CMAKE_READELF
645645
CMAKE_SYSROOT
646+
CMAKE_TOOLCHAIN_FILE
646647
LIBCXX_HAS_MUSL_LIBC
647648
LIBCXX_HAS_GCC_S_LIB
648649
LIBCXX_HAS_PTHREAD_LIB

0 commit comments

Comments
 (0)
Please sign in to comment.