mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
compile.sh: use host clang by default, enable aarch64
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user