[all-commits] [llvm/llvm-project] 7ce8d2: [clang][flang][windows] Prefer user-provided libra...

David Truby via All-commits all-commits at lists.llvm.org
Thu May 16 05:48:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ce8d2e5fb9cc5f6f9de214584170a8cf01b98de
      https://github.com/llvm/llvm-project/commit/7ce8d2e5fb9cc5f6f9de214584170a8cf01b98de
  Author: David Truby <david.truby at arm.com>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/MSVC.cpp
    A clang/test/Driver/flang/msvc-link.f90

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

Currently the paths to compiler-rt and the Flang runtimes from the LLVM
build/install directory are preferred over any user-provided library
paths. This means a user can't override compiler-rt or the Flang
runtimes with custom versions.

This patch changes the link order to prefer library paths specified with
-L over the LLVM paths. This matches the behaviour of clang and flang on
Linux.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list