From 46102ee737faab90adbdf142bfd963014c740820 Mon Sep 17 00:00:00 2001 From: occheung Date: Thu, 15 Jul 2021 15:51:57 +0800 Subject: [PATCH] board_misoc: build vectors.S with rv64 target in misoc Signed-off-by: occheung --- artiq/firmware/libboard_misoc/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/firmware/libboard_misoc/build.rs b/artiq/firmware/libboard_misoc/build.rs index c0a5971eb..efea565bf 100644 --- a/artiq/firmware/libboard_misoc/build.rs +++ b/artiq/firmware/libboard_misoc/build.rs @@ -13,6 +13,7 @@ fn main() { println!("cargo:rerun-if-changed={}", vectors_path.to_str().unwrap()); cc::Build::new() + .flag("--target=riscv64-unknown-elf") .file(vectors_path) .compile("vectors"); }