[PATCH] D147648: [compiler-rt] [test] [fuzzer] Don't pass msvc specific flags to mingw tools

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 5 12:00:14 PDT 2023


mstorsjo added a comment.

In D147648#4246717 <https://reviews.llvm.org/D147648#4246717>, @vitalybuka wrote:

> What is about clang-cl?

When building with clang-cl, the cmake variable `MSVC` is set, since it’s considered roughly the same. (It’s considered the same “environment “.) Distinguishing between clang-cl and actual MSVC requires checking more specific variables.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147648/new/

https://reviews.llvm.org/D147648



More information about the llvm-commits mailing list