summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-10-14 09:36:17 +0200
committerDylan Baker <dylan@pnwbakers.com>2025-10-14 09:22:08 -0700
commit5cc1ee7f90da50f40a3263f9e63d9e356dda197c (patch)
tree25e1a1d6eaca83f09f55a3deab4ea5dbb6f03385 /docs
parent15d3909695520850b6b587544a01971b6d34be43 (diff)
downloadmeson-5cc1ee7f90da50f40a3263f9e63d9e356dda197c.tar.gz
compilers: make link/lld-link check homogeneous
Use the same check for all of clang, nasm and rustc. This also avoids the following warning: Sanity check compiler command line: clang++ sanitycheckobjcpp.mm -o sanitycheckobjcpp.exe -D_MT -D_DLL -D_DEBUG -D_FILE_OFFSET_BITS=64 -Wl,-fms-runtime-lib=dll_dbg Sanity check compile stdout: LINK : warning LNK4044: unrecognized option /fms-runtime-lib=dll_dbg; ignored iWhat happens is that -fms-runtime-lib sets up an automatic dependency from the .o files to the final link product, and therefore must be passed as a compiler argument. But the constructor for ClangCompiler was incorrectly allowing b_vscrt for MINGW, so I messed up the logic. With this change, MINGW won't get the b_vscrt option. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions