[llvm-branch-commits] [lld] release/19.x: [LLD] [MinGW] Recognize the -rpath option (#102886) (PR #104843)

Martin Storsjö via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Aug 19 13:55:22 PDT 2024


mstorsjo wrote:

> The commit itself seems quite simple and seems safe on its own. I guess the main worry would be that some build system configure checks may, in theory, now consider it as available and start using a different, potentially unintended, code paths. Still, given that it was the case with GNU tools, that risk seems small.

Yes, I guess in theory, you could have a build system that checks whether `-rpath` is accepted, and starts adding it if it is. Such cases will now start getting warnings... I'm not aware of any such case though, but it's theoretically possible at least.

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


More information about the llvm-branch-commits mailing list