compile.sh: enable polly on host toolchain, as NDK doesn't have it...
This commit is contained in:
parent
ae23528e04
commit
e18d0976ef
1 changed files with 4 additions and 4 deletions
|
@ -24,13 +24,13 @@ ROOT="$PWD" # compile.sh must be run from root of android project sources
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
BUILD_TYPE=debug
|
BUILD_TYPE=debug
|
||||||
ENGINE_FLAGS=""
|
|
||||||
SDK_FLAGS=""
|
|
||||||
else
|
else
|
||||||
BUILD_TYPE=$1
|
BUILD_TYPE=$1
|
||||||
|
if [ "$TOOLCHAIN" = "host" ]; then
|
||||||
ENGINE_FLAGS="--enable-poly-opt"
|
ENGINE_FLAGS="--enable-poly-opt"
|
||||||
SDK_FLAGS="--enable-poly-opt"
|
SDK_FLAGS="--enable-poly-opt"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Cleanup libraries
|
# Cleanup libraries
|
||||||
rm -rf android/lib/
|
rm -rf android/lib/
|
||||||
|
|
Loading…
Add table
Reference in a new issue