Skip to content

Commit

Permalink
Passthrough LLVM_USE_LLD LLVM_USE_LINKER into runtimes
Browse files Browse the repository at this point in the history
Fixes #42339

Reviewed By: phosek, sylvestre.ledru

Differential Revision: https://reviews.llvm.org/D115852
  • Loading branch information
vitalybuka committed Dec 17, 2021
1 parent 3f5f687 commit bd16b1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions llvm/runtimes/CMakeLists.txt
Expand Up @@ -242,6 +242,8 @@ function(runtime_default_target)
${COMMON_CMAKE_ARGS}
${RUNTIMES_CMAKE_ARGS}
PASSTHROUGH_PREFIXES LLVM_ENABLE_RUNTIMES
LLVM_USE_LLD
LLVM_USE_LINKER
${ARG_PREFIXES}
EXTRA_TARGETS ${extra_targets}
${test_targets}
Expand Down Expand Up @@ -345,6 +347,8 @@ function(runtime_register_target name target)
-DLLVM_RUNTIMES_TARGET=${name}
${COMMON_CMAKE_ARGS}
${${name}_extra_args}
PASSTHROUGH_PREFIXES LLVM_USE_LLD
LLVM_USE_LINKER
EXTRA_TARGETS ${${name}_extra_targets}
${${name}_test_targets}
USE_TOOLCHAIN
Expand Down

0 comments on commit bd16b1c

Please sign in to comment.