From d495cc11f805e0c85327850f25d91e1d58c48ff2 Mon Sep 17 00:00:00 2001 From: LongYinan Date: Thu, 2 Dec 2021 21:27:16 +0800 Subject: [PATCH] fix(cli): android armv7 CI config in new command --- cli/src/new/ci-template.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/new/ci-template.ts b/cli/src/new/ci-template.ts index 32ca8201..572581b0 100644 --- a/cli/src/new/ci-template.ts +++ b/cli/src/new/ci-template.ts @@ -96,7 +96,7 @@ jobs: architecture: 'x64' target: 'armv7-linux-androideabi' build: | - export CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER="\${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi24-clang" + export CARGO_TARGET_ARMV7_LINUX_ANDROIDEABI_LINKER="\${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi24-clang" export CC="\${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi24-clang" export CXX="\${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi24-clang++" export PATH="\${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin:\${PATH}"