From 2dc131ba0801f69b485ab61c99efdd890b79bc93 Mon Sep 17 00:00:00 2001 From: lovasoa Date: Thu, 9 Oct 2025 17:24:30 +0200 Subject: [PATCH] remove unused dependencies in dockerfile --- scripts/setup-cross-compilation.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/setup-cross-compilation.sh b/scripts/setup-cross-compilation.sh index 1c01db4a..07b6a693 100755 --- a/scripts/setup-cross-compilation.sh +++ b/scripts/setup-cross-compilation.sh @@ -10,7 +10,7 @@ if [ "$TARGETARCH" = "$BUILDARCH" ]; then # Native build rustup target list --installed > /tmp/TARGET echo "gcc" > /tmp/LINKER - apt-get install -y gcc libgcc-s1 cmake pkg-config + apt-get install -y gcc libgcc-s1 make LIBDIR="/lib/$(gcc -print-multiarch)" @@ -18,14 +18,14 @@ elif [ "$TARGETARCH" = "arm64" ]; then echo "aarch64-unknown-linux-gnu" > /tmp/TARGET echo "aarch64-linux-gnu-gcc" > /tmp/LINKER - apt-get install -y gcc-aarch64-linux-gnu libgcc-s1-arm64-cross pkg-config + apt-get install -y gcc-aarch64-linux-gnu libgcc-s1-arm64-cross LIBDIR="/usr/aarch64-linux-gnu/lib" elif [ "$TARGETARCH" = "arm" ]; then echo "armv7-unknown-linux-gnueabihf" > /tmp/TARGET echo "arm-linux-gnueabihf-gcc" > /tmp/LINKER - apt-get install -y gcc-arm-linux-gnueabihf libgcc-s1-armhf-cross cmake libclang1 clang pkg-config + apt-get install -y gcc-arm-linux-gnueabihf libgcc-s1-armhf-cross make cargo install --force --locked bindgen-cli