mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
compile.sh: enable polly on host toolchain, as NDK doesn't have it...
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user