[clang] [Clang] Add 'CLANG_ALLOW_IMPLICIT_RPATH' to enable toolchain use of -rpath (PR #82004)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 28 08:29:30 PST 2024
jhuber6 wrote:
So, I'm wondering if we could do a clang configuration file based solution for this. The problem that I see now is that we'd like to make some clang configuration files only active for a certain language. I think we already have OS specific files and target specific files, so it might be possible to have language specific ones as well?
Also, we need to be able to do something like `-rpath <CFGDIR>../lib/x86_64-unknown-linux-gnu` but without hardcoding the triple. Is that a way to get the LLVM default triple in these things? What do you think @MaskRay.
https://github.com/llvm/llvm-project/pull/82004
More information about the cfe-commits
mailing list