From b590c6c7d8657f693c4024621d75bc0036df76ce Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 4 Oct 2016 08:15:13 +0000 Subject: [PATCH] Rust: import --cfg flags generated by misoc. --- artiq/runtime/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/runtime/Makefile b/artiq/runtime/Makefile index 1068a1db9..30a8b1d7f 100644 --- a/artiq/runtime/Makefile +++ b/artiq/runtime/Makefile @@ -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