Skip to content

Commit c975c4f

Browse files
MeowSheruyadorno
authored andcommitted
build: optimized and fixed building configuration to Android
PR-URL: #44016 Reviewed-By: Yash Ladha <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Feng Yu <[email protected]>
1 parent 0fffc24 commit c975c4f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

android-configure

+3-5
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,14 @@ NDK_PATH=$1
1717
ARCH="$2"
1818
ANDROID_SDK_VERSION=$3
1919

20-
if [ $ANDROID_SDK_VERSION -lt 23 ]; then
21-
echo "$ANDROID_SDK_VERSION should equal or later than 23(Android 6.0)"
20+
if [ $ANDROID_SDK_VERSION -lt 24 ]; then
21+
echo "$ANDROID_SDK_VERSION should equal or later than 24 (Android 7.0)"
2222
fi
2323

24-
CC_VER="4.9"
25-
2624
case $ARCH in
2725
arm)
2826
DEST_CPU="arm"
29-
TOOLCHAIN_NAME="armv7-linux-androideabi"
27+
TOOLCHAIN_NAME="armv7a-linux-androideabi"
3028
;;
3129
x86)
3230
DEST_CPU="ia32"

0 commit comments

Comments
 (0)