From 03d10a32d6648379ae01d1a0bffae6a89bfdd065 Mon Sep 17 00:00:00 2001 From: BuShe Date: Sun, 7 Aug 2022 19:17:20 +0800 Subject: [PATCH] build: optimized and fixed building configuration to Android PR-URL: https://github.com/nodejs/node/pull/44016 Reviewed-By: Yash Ladha Reviewed-By: David Carlier Reviewed-By: Christian Clauss Reviewed-By: Feng Yu --- android-configure | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/android-configure b/android-configure index 43341d1abea765..6200f35200c774 100755 --- a/android-configure +++ b/android-configure @@ -17,16 +17,14 @@ NDK_PATH=$1 ARCH="$2" ANDROID_SDK_VERSION=$3 -if [ $ANDROID_SDK_VERSION -lt 23 ]; then - echo "$ANDROID_SDK_VERSION should equal or later than 23(Android 6.0)" +if [ $ANDROID_SDK_VERSION -lt 24 ]; then + echo "$ANDROID_SDK_VERSION should equal or later than 24 (Android 7.0)" fi -CC_VER="4.9" - case $ARCH in arm) DEST_CPU="arm" - TOOLCHAIN_NAME="armv7-linux-androideabi" + TOOLCHAIN_NAME="armv7a-linux-androideabi" ;; x86) DEST_CPU="ia32"