try something

This commit is contained in:
finn 2022-12-19 22:12:47 -08:00
parent 838cff2999
commit 4e6adefd5a
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
[build]
[target.aarch64-unknown-linux-gnu]
linker = "lld-13"
linker = "aarch64-linux-gnu-gcc"
[target.arm-unknown-linux-gnueabi]
linker = "lld-13"

View file

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