From b438d6cd268babe41fba13050b3627c413ed5727 Mon Sep 17 00:00:00 2001 From: Jared Burce Date: Mon, 9 Nov 2020 19:52:44 -0800 Subject: [PATCH] alternate cargo config for when non-default gcc version installed --- .cargo/config.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 2c070e3..470f5c3 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,7 +1,8 @@ [build] # (Optional) Set default target for cargo build target = "armv7-unknown-linux-gnueabihf" -rustflags = ["-C", "linker=arm-linux-gnueabihf-gcc"] +#rustflags = ["-C", "linker=arm-linux-gnueabihf-gcc"] +rustflags = ["-C", "linker=arm-linux-gnueabihf-gcc-8"] # Pi 0/1 [target.arm-unknown-linux-gnueabihf]