From 890773753d5b8064dbe290dabd39923c1400b119 Mon Sep 17 00:00:00 2001 From: eladyn Date: Mon, 30 Dec 2024 17:20:56 +0100 Subject: [PATCH] cd: fix sysroot for armv6 --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 2e869285..36b55d25 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -133,7 +133,7 @@ jobs: cargo +stable install --force --locked bindgen-cli echo "/build/tools/arm-bcm2708/arm-linux-gnueabihf/bin" >> $GITHUB_PATH echo "PKG_CONFIG_ALLOW_CROSS=1" >> $GITHUB_ENV - echo BINDGEN_EXTRA_CLANG_ARGS='--sysroot /usr/arm-linux-gnueabihf' >> $GITHUB_ENV + echo BINDGEN_EXTRA_CLANG_ARGS='--sysroot /build/tools/arm-bcm2708/arm-linux-gnueabihf/arm-linux-gnueabihf/' >> $GITHUB_ENV echo "RUSTFLAGS=-C linker=/build/tools/arm-bcm2708/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -L/build/tools/arm-bcm2708/arm-linux-gnueabihf/arm-linux-gnueabihf/sysroot/lib -L/build/tools/arm-bcm2708/arm-linux-gnueabihf/arm-linux-gnueabihf/sysroot/usr/lib -L/build/sysroot/usr/lib/arm-linux-gnueabihf -L/build/sysroot/lib/arm-linux-gnueabihf" >> $GITHUB_ENV echo "C_INCLUDE_PATH=/build/sysroot/usr/include" >> $GITHUB_ENV echo "OPENSSL_LIB_DIR=/build/sysroot/usr/lib/arm-linux-gnueabihf" >> $GITHUB_ENV