compile.sh: use clang bundled in NDK
This commit is contained in:
parent
63bd4faa22
commit
384cc8541e
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ if echo "$HOME" | grep "com.termux"; then
|
||||||
else
|
else
|
||||||
echo "-- Configuring for Android SDK/NDK"
|
echo "-- Configuring for Android SDK/NDK"
|
||||||
if [ -z "$TOOLCHAIN" ]; then
|
if [ -z "$TOOLCHAIN" ]; then
|
||||||
TOOLCHAIN=host
|
TOOLCHAIN=llvm
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ if [ -z "$1" ]; then
|
||||||
BUILD_TYPE=debug
|
BUILD_TYPE=debug
|
||||||
else
|
else
|
||||||
BUILD_TYPE=$1
|
BUILD_TYPE=$1
|
||||||
if [ "$TOOLCHAIN" = "host" ]; then
|
if [ "$TOOLCHAIN" = "host" || "$TOOLCHAIN" = "llvm" ]; then
|
||||||
ENGINE_FLAGS="--enable-poly-opt"
|
ENGINE_FLAGS="--enable-poly-opt"
|
||||||
SDK_FLAGS="--enable-poly-opt"
|
SDK_FLAGS="--enable-poly-opt"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue