This commit is contained in:
finn 2022-12-20 01:46:33 -08:00
parent 3363fbcfcb
commit 444f147380

View file

@ -6,7 +6,7 @@ apt-get update
PACKAGES=("git" "clang-13" "libclang-dev" "cmake" "make" "gcc-multilib" "g++-multilib") PACKAGES=("git" "clang-13" "libclang-dev" "cmake" "make" "gcc-multilib" "g++-multilib")
case "${TARGET}" in case "${TARGET}" in
aarch64-unknown-linux-gnu|aarch64-unknown-linux-musl) aarch64-unknown-linux-gnu|aarch64-unknown-linux-musl)
apt-get install -yqq "${PACKAGES[@]}" crossbuild-essential-arm64 gcc-aarch64-linux-gnu g++-aarch64-linux-gnu binutils-aarch64-linux-gnu apt-get install -yqq "${PACKAGES[@]}" gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
;; ;;
arm-unknown-linux-gnueabi|arm-unknown-linux-musleabi) arm-unknown-linux-gnueabi|arm-unknown-linux-musleabi)
apt-get install -yqq "${PACKAGES[@]}" {cpp,g++,gcc}-arm-linux-gnueabi linux-libc-dev-armel-cross apt-get install -yqq "${PACKAGES[@]}" {cpp,g++,gcc}-arm-linux-gnueabi linux-libc-dev-armel-cross