It doesn't look like there is anything llvm-lib needs to handle based on
Microsoft's description of the flag.
https://docs.microsoft.com/en-us/cpp/build/reference/managing-a-library?view=msvc-170
Differential D129032
[llvm-lib] Ignore /NODEFAULTLIB flag pzheng on Jul 1 2022, 7:31 PM. Authored by
Details It doesn't look like there is anything llvm-lib needs to handle based on https://docs.microsoft.com/en-us/cpp/build/reference/managing-a-library?view=msvc-170
Diff Detail
Event TimelineComment Actions Looks fine to me. May I ask what motivates all these changes? Are you trying to build a particular project? Is it difficult to not pass link.exe-only flags to lib.exe in that project for some reason? Comment Actions Thanks, @thakis. What motivated these changes are some build errors we encountered when building proprietary projects with clang. We don't have control over the flags passed to llvm-lib, so need a way to work around these flag compatibility issues for now. |