diff options
author | BuShe <bushe.cn@icloud.com> | 2022-08-07 14:17:20 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@google.com> | 2022-08-23 02:37:18 +0300 |
commit | c975c4f674fc9c8621210d271612793dc1f658b0 (patch) | |
tree | 8cddaeaf361a97ae73611660139bf1b22a5b63ae /android-configure | |
parent | 0fffc24caad83edee39435cd6bd1a2f070add2df (diff) |
build: optimized and fixed building configuration to Android
PR-URL: https://github.com/nodejs/node/pull/44016
Reviewed-By: Yash Ladha <yash@yashladha.in>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Christian Clauss <cclauss@me.com>
Reviewed-By: Feng Yu <F3n67u@outlook.com>
Diffstat (limited to 'android-configure')
-rwxr-xr-x | android-configure | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/android-configure b/android-configure index 43341d1abea..6200f35200c 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" |