diff options
author | Vincent Lee <leevince@fb.com> | 2022-08-03 00:00:02 -0700 |
---|---|---|
committer | Vincent Lee <leevince@fb.com> | 2022-08-03 11:24:09 -0700 |
commit | c77db81616805936fa8471241b3b0fce4af12cec (patch) | |
tree | 619aaab50c28edb13a4af80eff9b17c15937592a /lldb/packages/Python/lldbsuite/test/lldbtest.py | |
parent | a5a8a05c78c0d1298c4128aaafd0275354198afb (diff) | |
download | llvm-c77db81616805936fa8471241b3b0fce4af12cec.zip llvm-c77db81616805936fa8471241b3b0fce4af12cec.tar.gz llvm-c77db81616805936fa8471241b3b0fce4af12cec.tar.bz2 |
[CMake] Fix runtimes cross-compilation when using LLVM_USE_LINKER
This is motivated by https://reviews.llvm.org/D115852#3226050 where passing
`LLVM_USE_LINKER` in PASSTHROUGH_PREFIXES breaks cross-compilation
(e.g. targeting Windows on a Linux host). As suggested on that diff, implement
an override for it by allowing users to pass `RUNTIMES_${target}_LLVM_USE_LINKER`
to specify the linker for runtimes. Defaults to host linker if not specified.
Reviewed By: phosek, smeenai
Differential Revision: https://reviews.llvm.org/D131051
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions