mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 10:49:10 +00:00
Update compile.sh
This commit is contained in:
parent
fc053d9d75
commit
5ce7b57cac
@ -171,6 +171,7 @@ if [ "$IS_CROSSCOMPILE" == "yes" ]; then
|
|||||||
#zlib doesn't use the correct ranlib
|
#zlib doesn't use the correct ranlib
|
||||||
RANLIB=$TOOLCHAIN_PREFIX-ranlib
|
RANLIB=$TOOLCHAIN_PREFIX-ranlib
|
||||||
OPENSSL_TARGET="darwin64-x86_64-cc"
|
OPENSSL_TARGET="darwin64-x86_64-cc"
|
||||||
|
CFLAGS="$CFLAGS -Qunused-arguments -Wno-unused-command-line-argument-hard-error-in-future"
|
||||||
echo "[INFO] Cross-compiling for Intel MacOS"
|
echo "[INFO] Cross-compiling for Intel MacOS"
|
||||||
elif [ "$COMPILE_TARGET" == "ios" ] || [ "$COMPILE_TARGET" == "ios-armv6" ]; then
|
elif [ "$COMPILE_TARGET" == "ios" ] || [ "$COMPILE_TARGET" == "ios-armv6" ]; then
|
||||||
[ -z "$march" ] && march=armv6;
|
[ -z "$march" ] && march=armv6;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user