Skip to content

Commit

Permalink
Increase minimum SDK version to 21
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Feb 20, 2023
1 parent 3c52966 commit b68026f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,18 @@ _setup_toolchain () {
unset CFLAGS CPPFLAGS CXXFLAGS

TARGET_ABI="$1"
API=21
if [ "$TARGET_ABI" == armeabi-v7a ]; then
API=16
CROSS_PREFIX=armv7a-linux-androideabi
CFLAGS="-mthumb"
CXXFLAGS="-mthumb"
elif [ "$TARGET_ABI" == arm64-v8a ]; then
API=21
CROSS_PREFIX=aarch64-linux-android
elif [ "$TARGET_ABI" == x86 ]; then
API=16
CROSS_PREFIX=i686-linux-android
CFLAGS="-mssse3 -mfpmath=sse"
CXXFLAGS="-mssse3 -mfpmath=sse"
elif [ "$TARGET_ABI" == x86_64 ]; then
API=21
CROSS_PREFIX=x86_64-linux-android
else
echo "Invalid ABI given"; return 1
Expand Down
2 changes: 1 addition & 1 deletion ci_install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash -e
ndk_version=r23c
ndk_version=r25c

# Build tools and stuff
sudo apt-get update
Expand Down

0 comments on commit b68026f

Please sign in to comment.