mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-04 09:10:00 +00:00
Enable assembly on cross-compile
This commit is contained in:
parent
308430c28d
commit
7bcc6d10b8
@ -447,6 +447,12 @@ cd ..
|
|||||||
rm -r -f ./libmcrypt
|
rm -r -f ./libmcrypt
|
||||||
echo " done!"
|
echo " done!"
|
||||||
|
|
||||||
|
if [ "$IS_CROSSCOMPILE" == "yes" ]; then
|
||||||
|
EXTRA_FLAGS=""
|
||||||
|
else
|
||||||
|
EXTRA_FLAGS="--disable-assembly"
|
||||||
|
fi
|
||||||
|
|
||||||
#GMP
|
#GMP
|
||||||
echo -n "[GMP] downloading $GMP_VERSION..."
|
echo -n "[GMP] downloading $GMP_VERSION..."
|
||||||
download_file "https://gmplib.org/download/gmp/gmp-$GMP_VERSION.tar.bz2" | tar -jx >> "$DIR/install.log" 2>&1
|
download_file "https://gmplib.org/download/gmp/gmp-$GMP_VERSION.tar.bz2" | tar -jx >> "$DIR/install.log" 2>&1
|
||||||
@ -454,7 +460,7 @@ mv gmp-$GMP_VERSION_DIR gmp
|
|||||||
echo -n " checking..."
|
echo -n " checking..."
|
||||||
cd gmp
|
cd gmp
|
||||||
RANLIB=$RANLIB ./configure --prefix="$DIR/bin/php5" \
|
RANLIB=$RANLIB ./configure --prefix="$DIR/bin/php5" \
|
||||||
--disable-assembly \
|
$EXTRA_FLAGS \
|
||||||
--disable-posix-threads \
|
--disable-posix-threads \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--disable-shared \
|
--disable-shared \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user