[PATCH] D60094: [MSVC] If unable to find link.exe relative to MSVC, look for link.exe in the path
Martin Storsjö via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 1 23:43:07 PDT 2019
mstorsjo added a comment.
FWIW, to add a bit of context about why (since normally, few people actually do link via the `(clang-)cl` interface); CMake does during some of its tests.
I'd like to bring it to a point so that `CC=clang-cl CXX=clang-cl cmake ...` would work, while I currently either need my env var hack, or e.g. `CC="clang-cl -fuse-ld=link.exe" ...` (or `-fuse-ld=lld-link`). Doing that is not hard, but it's a bit of a nuisance as I tend to forget it.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60094/new/
https://reviews.llvm.org/D60094
More information about the cfe-commits
mailing list