Skip to content

Commit

Permalink
build: optimized and fixed building configuration to Android
Browse files Browse the repository at this point in the history
  • Loading branch information
MeowShe committed Aug 7, 2022
1 parent 803a7b2 commit 5fe82f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions android-configure
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ 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"
Expand Down

0 comments on commit 5fe82f0

Please sign in to comment.