Commit 8da2bc7
committed
[meson] Provide Language-specific Linker Definitions
This is a new feature of meson v0.53.1 which chooses the linker in a
language-specific manner. We just set the linker for C and C++ to
explicitly be riscv32-unknown-elf-ld, the linker we normally use.
In the clang builds, this will be passed with `clang -fuse-ld=<path>`
which should work correctly, but uses the clang driver to establish all
the right arguments to pass down to the linker.
Signed-off-by: Sam Elliott <selliott@lowrisc.org>1 parent 29745b4 commit 8da2bc7
File tree
2 files changed
+4
-0
lines changed2 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
0 commit comments