diff options
author | serge-sans-paille <sguelton@mozilla.com> | 2022-12-22 10:48:37 +0100 |
---|---|---|
committer | serge-sans-paille <sguelton@mozilla.com> | 2022-12-22 20:07:25 +0100 |
commit | 8d3ab9dfc4d49062e045d6d5db419975b81da7e4 (patch) | |
tree | 8e753956278ca0bc8ae6e3351e4978d23d036db5 /llvm/lib/Support/Unix/Program.inc | |
parent | 5df34e971dd581d32955474b5b4b29d92fb87b30 (diff) | |
download | llvm-8d3ab9dfc4d49062e045d6d5db419975b81da7e4.zip llvm-8d3ab9dfc4d49062e045d6d5db419975b81da7e4.tar.gz llvm-8d3ab9dfc4d49062e045d6d5db419975b81da7e4.tar.bz2 |
Properly support LLVM_ENABLE_LLD on Windows
Currently, setting -DLLVM_ENABLE_LLD=ON on windows also requires setting
-DCMAKE_LINKER=lld-link.exe. This is both misleading and redundant.
Fix this by trying to find llvm-link.exe when -DLLVM_ENABLE_LLD=ON is
set and CMAKE_LINKER is not, and aborting otherwise.
Differential Revision: https://reviews.llvm.org/D140534
Diffstat (limited to 'llvm/lib/Support/Unix/Program.inc')
0 files changed, 0 insertions, 0 deletions