llvm-project
eb9af19f - [clang-repl][CMake][MSVC] Wrap /EXPORT linker option for ICX (#112867)

Commit
343 days ago
[clang-repl][CMake][MSVC] Wrap /EXPORT linker option for ICX (#112867) The Intel C++ Compiler (ICX) passes linker flags through the driver unlike MSVC and clang-cl, and therefore needs them to be prefixed with `/Qoption,link` (the equivalent of -Wl, for gcc on *nix). Use the `LINKER:` prefix for the `/EXPORT:` options in clang-repl, this expands to the correct flag for ICX and nothing for MSVC / clang-cl. RFC: https://discourse.llvm.org/t/rfc-cmake-linker-flags-need-wl-equivalent-for-intel-c-icx-on-windows/82446
Author
Parents
Loading