[clang] [Clang] Add 'CLANG_ALLOW_IMPLICIT_RPATH' to enable toolchain use of -rpath (PR #82004)

Tom Stellard via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 16 08:28:36 PST 2024


tstellar wrote:

> 
> I believe right now the `rtlib-rpath` points to the path `${CLANG_BINARY}../lib/${HOST_TRIPLE}/`. I think it's definitely reasonable to not put this on system libraries if that's a solution, since we can generally assume it's a global installation and already covered by the user's library path. Does the Fedora policy only disallow `rpath` on system installs then?

Right, any official Fedora binaries we build can't have rpath in them, but users can still use rpath in their own applications if they want.


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


More information about the cfe-commits mailing list