Rust: import --cfg flags generated by misoc.

This commit is contained in:
whitequark 2016-10-04 08:15:13 +00:00
parent 0e2cd38135
commit b590c6c7d8
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ libruntime.a:
cargo rustc --verbose \
--manifest-path $(RUNTIME_DIRECTORY)/../runtime.rs/Cargo.toml \
--target=or1k-unknown-none -- \
$(shell cat $(BUILDINC_DIRECTORY)/generated/rust-cfg) \
-C target-feature=+mul,+div,+ffl1,+cmov,+addc -C opt-level=s \
-L../libcompiler-rt