compile.sh: enable polly on host toolchain, as NDK doesn't have it...

This commit is contained in:
Alibek Omarov 2019-10-11 09:11:12 +03:00
parent ae23528e04
commit e18d0976ef

View file

@ -24,12 +24,12 @@ ROOT="$PWD" # compile.sh must be run from root of android project sources
if [ -z "$1" ]; then
BUILD_TYPE=debug
ENGINE_FLAGS=""
SDK_FLAGS=""
else
BUILD_TYPE=$1
ENGINE_FLAGS="--enable-poly-opt"
SDK_FLAGS="--enable-poly-opt"
if [ "$TOOLCHAIN" = "host" ]; then
ENGINE_FLAGS="--enable-poly-opt"
SDK_FLAGS="--enable-poly-opt"
fi
fi
# Cleanup libraries