Skip to content

Commit

Permalink
[CMake] Set toolchain tools in cross-target runtimes build
Browse files Browse the repository at this point in the history
This is needed for runtimes build to work on Darwin.

Differential Revision: https://reviews.llvm.org/D35343

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308359 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
petrhosek committed Jul 18, 2017
1 parent 5f77a96 commit 5212269
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtimes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ else() # if this is included from LLVM's CMake
-DCMAKE_ASM_COMPILER_WORKS=ON
-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
${${target}_extra_args}
TOOLCHAIN_TOOLS clang lld llvm-ar llvm-ranlib
PASSTHROUGH_PREFIXES ${prefixes}
EXTRA_TARGETS ${${target}_extra_targets}
${${target}_test_targets}
Expand Down

0 comments on commit 5212269

Please sign in to comment.