From 906e6ece0b7e2a4232377ecde0bfeb7c6c24397d Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 29 Nov 2019 17:04:04 +0300 Subject: [PATCH] compile.sh: use host clang by default, enable aarch64 --- android/gen-version.sh | 1 + compile.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/android/gen-version.sh b/android/gen-version.sh index e8d11bf3..250bdedb 100755 --- a/android/gen-version.sh +++ b/android/gen-version.sh @@ -3,6 +3,7 @@ GIT_REV_XML=$1/res/values/git-rev.xml mkdir -p $(dirname $GIT_REV_XML) +git update-index --assume-unchanged $GIT_REV_XML echo '' > $GIT_REV_XML echo '' >> $GIT_REV_XML diff --git a/compile.sh b/compile.sh index 60466118..7dcdcbe6 100755 --- a/compile.sh +++ b/compile.sh @@ -11,12 +11,12 @@ if echo "$HOME" | grep "com.termux"; then else echo "-- Configuring for Android SDK/NDK" if [ -z "$TOOLCHAIN" ]; then - TOOLCHAIN=4.9 + TOOLCHAIN=host fi fi if [ -z "$ARCHS" ]; then - ARCHS="armeabi-v7a armeabi x86" + ARCHS="armeabi-v7a armeabi x86 aarch64" fi if [ -z "$API" ]; then