Skip to content

Commit

Permalink
[compiler-rt] Pass CMAKE_TOOLCHAIN_FILE through to custom libc++ build
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
smeenai committed Nov 6, 2023
1 parent 7f031d1 commit 1ad920f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler-rt/cmake/Modules/AddCompilerRT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ macro(add_custom_libcxx name prefix)
CMAKE_STRIP
CMAKE_READELF
CMAKE_SYSROOT
CMAKE_TOOLCHAIN_FILE
LIBCXX_HAS_MUSL_LIBC
LIBCXX_HAS_GCC_S_LIB
LIBCXX_HAS_PTHREAD_LIB
Expand Down

0 comments on commit 1ad920f

Please sign in to comment.