alternate cargo config for when non-default gcc version installed
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
[build]
|
[build]
|
||||||
# (Optional) Set default target for cargo build
|
# (Optional) Set default target for cargo build
|
||||||
target = "armv7-unknown-linux-gnueabihf"
|
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
|
# Pi 0/1
|
||||||
[target.arm-unknown-linux-gnueabihf]
|
[target.arm-unknown-linux-gnueabihf]
|
||||||
|
|||||||
Reference in New Issue
Block a user