mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 03:51:37 +00:00
Added NEON optimizations to iOS
This commit is contained in:
@@ -153,6 +153,9 @@ if [ "$IS_CROSSCOMPILE" == "yes" ]; then
|
|||||||
CONFIGURE_FLAGS="--host=$TOOLCHAIN_PREFIX --target=$TOOLCHAIN_PREFIX -miphoneos-version-min=4.2"
|
CONFIGURE_FLAGS="--host=$TOOLCHAIN_PREFIX --target=$TOOLCHAIN_PREFIX -miphoneos-version-min=4.2"
|
||||||
OPENSSL_TARGET="BSD-generic32"
|
OPENSSL_TARGET="BSD-generic32"
|
||||||
HAVE_MYSQLI="--without-mysqli"
|
HAVE_MYSQLI="--without-mysqli"
|
||||||
|
if [ "$DO_OPTIMIZE" == "yes" ]; then
|
||||||
|
CFLAGS="$CFLAGS -mfpu=neon"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "Please supply a proper platform [android android-armv6 android-armv7 rpi mac ios ios-armv6 ios-armv7] to cross-compile"
|
echo "Please supply a proper platform [android android-armv6 android-armv7 rpi mac ios ios-armv6 ios-armv7] to cross-compile"
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user