diff options
| author | Mads Marquart <mads@marquart.dk> | 2024-11-13 00:27:14 +0100 |
|---|---|---|
| committer | Mads Marquart <mads@marquart.dk> | 2024-11-24 01:20:29 +0100 |
| commit | cb6f8fa422ce14b82b60af79d0f0d0ad80936ecd (patch) | |
| tree | 001ba94da42e183051521e19dfa66d1de5bc58d9 /compiler/rustc_codegen_llvm/src | |
| parent | 45791dde8e0d258d794e561b9dff53f1dbb16377 (diff) | |
| download | rust-cb6f8fa422ce14b82b60af79d0f0d0ad80936ecd.tar.gz rust-cb6f8fa422ce14b82b60af79d0f0d0ad80936ecd.zip | |
Support rpath with -Clinker-flavor=ld
Using `cc_args` panics when using `-Clinker-flavor=ld`, because the arguments are in a form tailored for `-Clinker-flavor=gcc`. So instead, we use `link_args` and let that wrap the arguments with the appropriate `-Wl` or `-Xlinker` when needed.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
