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,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
|
||||
if [ "$TOOLCHAIN" = "host" ]; then
|
||||
ENGINE_FLAGS="--enable-poly-opt"
|
||||
SDK_FLAGS="--enable-poly-opt"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Cleanup libraries
|
||||
|
|
Loading…
Add table
Reference in a new issue