diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2023-05-17 22:52:54 +0200 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2023-05-17 22:52:54 +0200 |
| commit | c2f0313d9493ca1e899a45fddc2349d1167116e4 (patch) | |
| tree | ece3419265d83391344262dcef52b2f3f94f8508 /compiler/rustc_codegen_llvm/src | |
| parent | c2ccc855e74aec03e434405eca3c247ee2432e53 (diff) | |
| download | rust-c2f0313d9493ca1e899a45fddc2349d1167116e4.tar.gz rust-c2f0313d9493ca1e899a45fddc2349d1167116e4.zip | |
Don't assume that `-Bdynamic` is the default linker mode
In particular this is false when passing `-static` or `-static-pie` to the linker, which changes the default to `-Bstatic`. This PR ensures we explicitly initialize the correct mode when we first need it.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
