From: LLVM Packaging Team Date: Sat, 5 Nov 2022 08:14:23 +0000 (+0000) Subject: use-gold-for-compiler-rt-when-set X-Git-Tag: archive/raspbian/1%13.0.1-9+rpi1~1^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ac1387432b524e7f9993ff64f9ba09060c7f58e3;p=llvm-toolchain-13.git use-gold-for-compiler-rt-when-set =================================================================== Gbp-Pq: Name use-gold-for-compiler-rt-when-set.diff --- diff --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt index a24c0f6cec..e7ecd8134c 100644 --- a/llvm/runtimes/CMakeLists.txt +++ b/llvm/runtimes/CMakeLists.txt @@ -244,6 +244,8 @@ function(runtime_default_target) -DCMAKE_ASM_COMPILER_WORKS=ON ${RUNTIMES_CMAKE_ARGS} PASSTHROUGH_PREFIXES LLVM_ENABLE_RUNTIMES + LLVM_USE_LLD + LLVM_USE_LINKER ${ARG_PREFIXES} EXTRA_TARGETS ${extra_targets} ${test_targets} @@ -345,6 +347,8 @@ function(runtime_register_target name target) -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON -DLLVM_RUNTIMES_TARGET=${name} ${${name}_extra_args} + PASSTHROUGH_PREFIXES LLVM_USE_LLD + LLVM_USE_LINKER EXTRA_TARGETS ${${name}_extra_targets} ${${name}_test_targets} USE_TOOLCHAIN