From d6d2554182ca7f5f97b7611903d7790efdb592af Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Thu, 21 Sep 2023 13:23:59 +0300 Subject: [PATCH] ci/debian: don't install libc6-dev-ARCH-cross packages There is no need to manually install libc6-dev-ARCH-cross packages. Corresponding target arch packages will be pulled out via the dependency of library dev packages. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Dmitry Baryshkov --- ci/debian.cross-compile.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ci/debian.cross-compile.sh b/ci/debian.cross-compile.sh index 810fad3..3d392bb 100755 --- a/ci/debian.cross-compile.sh +++ b/ci/debian.cross-compile.sh @@ -16,12 +16,12 @@ if [ -z "$ARCH" ]; then fi case "$ARCH" in - armel) PKGS_CC="gcc-arm-linux-gnueabi libc6-dev-${ARCH}-cross";; - arm64) PKGS_CC="gcc-aarch64-linux-gnu libc6-dev-${ARCH}-cross";; - ppc64el) PKGS_CC="gcc-powerpc64le-linux-gnu libc6-dev-${ARCH}-cross";; + armel) PKGS_CC="gcc-arm-linux-gnueabi";; + arm64) PKGS_CC="gcc-aarch64-linux-gnu";; + ppc64el) PKGS_CC="gcc-powerpc64le-linux-gnu";; # TODO: libraries for riscv? - #riscv64) PKGS_CC="gcc-riscv64-linux-gnu libc6-dev-${ARCH}-cross";; - s390x) PKGS_CC="gcc-${ARCH}-linux-gnu libc6-dev-${ARCH}-cross";; + #riscv64) PKGS_CC="gcc-riscv64-linux-gnu";; + s390x) PKGS_CC="gcc-${ARCH}-linux-gnu";; *) echo "unsupported arch: '$ARCH'!" >&2; exit 1;; esac