mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 09:56:22 +01:00
compile.sh: use host clang by default, enable aarch64
This commit is contained in:
parent
4179464de1
commit
906e6ece0b
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user