mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-04 09:10:00 +00:00
Allow custom arch. build on compiler
This commit is contained in:
parent
cdefcbd72a
commit
4aa7b3eaf8
@ -77,7 +77,7 @@ elif [ "$1" == "crosscompile" ]; then
|
|||||||
echo "Please supply a proper platform [android android-armv6 android-armv7 rpi mac] to cross-compile"
|
echo "Please supply a proper platform [android android-armv6 android-armv7 rpi mac] to cross-compile"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
else
|
elif [ -z "$CFLAGS" ]; then
|
||||||
if [ `getconf LONG_BIT` = "64" ]; then
|
if [ `getconf LONG_BIT` = "64" ]; then
|
||||||
echo "[INFO] Compiling for current machine using 64-bit"
|
echo "[INFO] Compiling for current machine using 64-bit"
|
||||||
CFLAGS="-m64 $CFLAGS"
|
CFLAGS="-m64 $CFLAGS"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user