From 4e6adefd5a8ddc993b8ac34210adee30ccddf298 Mon Sep 17 00:00:00 2001 From: finn Date: Mon, 19 Dec 2022 22:12:47 -0800 Subject: [PATCH] try something --- .cargo/config | 2 +- prepare-env.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.cargo/config b/.cargo/config index a73e249..df40aa0 100644 --- a/.cargo/config +++ b/.cargo/config @@ -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" diff --git a/prepare-env.sh b/prepare-env.sh index 4cce005..62eb6da 100755 --- a/prepare-env.sh +++ b/prepare-env.sh @@ -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