Commit 6166d32
authored
make: Support CARGO_TARGET for multi-arch builds (#497)
This change adds support for a `CARGO_TARGET` environment variable.
When set, this value is passed to i.e. `cargo build --target` to support
cross-compilation for multi-architecture builds.
Signed-off-by: jaerik <[email protected]>
Co-authored-by: Erik Jansson <[email protected]>1 parent 96984db commit 6166d32
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | | - | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
24 | | - | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| 116 | + | |
0 commit comments