2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00

compile.sh: use host clang by default, enable aarch64

This commit is contained in:
Alibek Omarov 2019-11-29 17:04:04 +03:00
parent 4179464de1
commit 906e6ece0b
2 changed files with 3 additions and 2 deletions

View File

@ -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 '<?xml version="1.0" encoding="utf-8"?>' > $GIT_REV_XML
echo '<resources>' >> $GIT_REV_XML

View File

@ -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