Skip to content

Commit c156306

Browse files
committed
[CMake] Tell libc++ that we're using compiler-rt on Apple platforms
Reviewers: beanz, arphaman, EricWF Subscribers: dberris, mgorny, jkorous, dexonsmith, jdoerfert, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D58921 llvm-svn: 355927
1 parent 8935aca commit c156306

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/cmake/caches/Apple-stage2.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "")
3838
set(LIBCXX_INSTALL_LIBRARY OFF CACHE BOOL "")
3939
set(LIBCXX_INSTALL_HEADERS ON CACHE BOOL "")
4040
set(LIBCXX_INCLUDE_TESTS OFF CACHE BOOL "")
41+
set(LIBCXX_USE_COMPILER_RT ON CACHE BOOL "")
4142
set(LLVM_LTO_VERSION_OFFSET 3000 CACHE STRING "")
4243

4344
# Generating Xcode toolchains is useful for developers wanting to build and use

0 commit comments

Comments
 (0)