compile.sh: allow TOOLCHAIN to be overriden

This commit is contained in:
Alibek Omarov 2019-10-09 01:51:14 +03:00
parent 98ba50c974
commit eb830889f9

View file

@ -10,7 +10,9 @@ if echo "$HOME" | grep "com.termux"; then
TOOLCHAIN=host TOOLCHAIN=host
else else
echo "-- Configuring for Android SDK/NDK" echo "-- Configuring for Android SDK/NDK"
TOOLCHAIN=4.9 if [ "$TOOLCHAIN" = "" ]; then
TOOLCHAIN=4.9
fi
fi fi
if [ "$ARCHS" = "" ]; then if [ "$ARCHS" = "" ]; then