Skip to content

Commit 8ced54e

Browse files
committed
chore: forgot linker env for raspi
1 parent 19e1a1f commit 8ced54e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ if [ "$TARGET" = "arm-unknown-linux-gnueabihf" ]
77
then
88
git clone --depth=1 https://github.com/raspberrypi/tools.git /tmp/tools;
99
export PATH=/tmp/tools/arm-bcm2708/arm-linux-gnueabihf/bin:$PATH;
10+
export CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc
1011
fi
1112

1213
cargo build --target="$TARGET" --release

0 commit comments

Comments
 (0)