mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 15:34:18 +08:00
Override RISC-V CFLAGS in cargo.toml
Makes RISC-V builds work without cc-rs patch, as apparently CFLAGS take precedence over cc-rs' heuristics
This commit is contained in:
parent
fee0b62b09
commit
1f9701e26c
@ -13,3 +13,6 @@ rustflags = []
|
||||
[target.riscv64gc-unknown-redox]
|
||||
linker = "riscv64-unknown-redox-gcc"
|
||||
rustflags = []
|
||||
|
||||
[env]
|
||||
CFLAGS_riscv64gc_unknown_redox="-march=rv64gc -mabi=lp64d"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user