compile.sh: use host clang by default, enable aarch64
This commit is contained in:
parent
4179464de1
commit
906e6ece0b
2 changed files with 3 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
||||||
GIT_REV_XML=$1/res/values/git-rev.xml
|
GIT_REV_XML=$1/res/values/git-rev.xml
|
||||||
|
|
||||||
mkdir -p $(dirname $GIT_REV_XML)
|
mkdir -p $(dirname $GIT_REV_XML)
|
||||||
|
git update-index --assume-unchanged $GIT_REV_XML
|
||||||
|
|
||||||
echo '<?xml version="1.0" encoding="utf-8"?>' > $GIT_REV_XML
|
echo '<?xml version="1.0" encoding="utf-8"?>' > $GIT_REV_XML
|
||||||
echo '<resources>' >> $GIT_REV_XML
|
echo '<resources>' >> $GIT_REV_XML
|
||||||
|
|
|
@ -11,12 +11,12 @@ if echo "$HOME" | grep "com.termux"; then
|
||||||
else
|
else
|
||||||
echo "-- Configuring for Android SDK/NDK"
|
echo "-- Configuring for Android SDK/NDK"
|
||||||
if [ -z "$TOOLCHAIN" ]; then
|
if [ -z "$TOOLCHAIN" ]; then
|
||||||
TOOLCHAIN=4.9
|
TOOLCHAIN=host
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$ARCHS" ]; then
|
if [ -z "$ARCHS" ]; then
|
||||||
ARCHS="armeabi-v7a armeabi x86"
|
ARCHS="armeabi-v7a armeabi x86 aarch64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$API" ]; then
|
if [ -z "$API" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue