Added force flag to rebuild ndk-toolchain if needed.
authorDaniel G <giri@nwrk.biz>
Sun, 27 Jan 2019 14:56:53 +0000 (15:56 +0100)
committerDaniel G <giri@nwrk.biz>
Sun, 27 Jan 2019 14:56:53 +0000 (15:56 +0100)
_template/packages/allegro5.1.13/setenv.sh

index ba0aa86..1eddb46 100755 (executable)
@@ -1,7 +1,7 @@
 WORKDIR=$(pwd)
 #git clone https://github.com/mherod/android-sdk-licenses.git
 #sudo cp -a $WORKDIR/android-sdk-licenses/*-license /usr/lib/android-sdk/licenses
-/usr/lib/android-ndk/build/tools/make_standalone_toolchain.py --api=23 --install-dir=$WORKDIR/android_toolchain --stl=stlport --arch=arm
+/usr/lib/android-ndk/build/tools/make_standalone_toolchain.py --api=23 --install-dir=$WORKDIR/android_toolchain --stl=stlport --force --arch=arm
 export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64/
 export ANDROID_HOME=/usr/lib/android-sdk/
 export ANDROID_NDK_HOME=/usr/lib/android-ndk/