[all-commits] [llvm/llvm-project] d03f47: [Clang] Make '-frtlib-add-rpath' include the stand...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Mar 22 04:54:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d03f470cbdbae3f86469ea4d79bb54d3ef680512
      https://github.com/llvm/llvm-project/commit/d03f470cbdbae3f86469ea4d79bb54d3ef680512
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-03-22 (Fri, 22 Mar 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/CommonArgs.cpp

  Log Message:
  -----------
  [Clang] Make '-frtlib-add-rpath' include the standard library directory (#86217)

Summary:
The original intention of the `openmp-add-rpath` option was to add the
rpath to the language runtime directory. However, the current
implementation only adds it to the compiler's resource directory. This
patch adds support for appending the `-rpath` to the compiler's standard
library directory as well. Currently this is `<exe>/../lib/<triple>`.



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