From 98ba50c974aee331411173c175641478fad28d88 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 9 Oct 2019 01:49:56 +0300 Subject: [PATCH] compile.sh: allow ARCHS to be overriden --- compile.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/compile.sh b/compile.sh index 3d1f3ec9..196b3c8a 100755 --- a/compile.sh +++ b/compile.sh @@ -12,7 +12,10 @@ else echo "-- Configuring for Android SDK/NDK" TOOLCHAIN=4.9 fi -ARCHS="armeabi-v7a armeabi x86" + +if [ "$ARCHS" = "" ]; then + ARCHS="armeabi-v7a armeabi x86" +fi API=9 ROOT="$PWD" # compile.sh must be run from root of android project sources SUBDIRS="xash3d-fwgs hlsdk-xash3d"