From eb830889f9ddf50329cf630c121bbcd6c9559a87 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 9 Oct 2019 01:51:14 +0300 Subject: [PATCH] compile.sh: allow TOOLCHAIN to be overriden --- compile.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compile.sh b/compile.sh index 196b3c8a..15d7cbf7 100755 --- a/compile.sh +++ b/compile.sh @@ -10,7 +10,9 @@ if echo "$HOME" | grep "com.termux"; then TOOLCHAIN=host else echo "-- Configuring for Android SDK/NDK" - TOOLCHAIN=4.9 + if [ "$TOOLCHAIN" = "" ]; then + TOOLCHAIN=4.9 + fi fi if [ "$ARCHS" = "" ]; then