[clang] [clang][flang][windows] Prefer user-provided library paths (-L) (PR #90758)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Sat May 4 15:01:04 PDT 2024


MaskRay wrote:

The code checks whether the directory is present `auto CRTPath = TC.getCompilerRTPath();` and only adds the libpath when it is present. This is related to the `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=off` file hierarchy we are migrating way from.

With `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=on`, TC.getCompilerRTPath() will not be needed.

https://github.com/llvm/llvm-project/pull/90758


More information about the cfe-commits mailing list