mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-21 10:51:24 +00:00
Added realloc patch for ARM to compile script
This commit is contained in:
parent
311961f3aa
commit
b80bae3352
@ -440,6 +440,7 @@ RANLIB=$RANLIB ./configure --prefix="$DIR/bin/php5" \
|
|||||||
$EXTRA_FLAGS \
|
$EXTRA_FLAGS \
|
||||||
$CONFIGURE_FLAGS >> "$DIR/install.log" 2>&1
|
$CONFIGURE_FLAGS >> "$DIR/install.log" 2>&1
|
||||||
sed -i=".backup" 's,/* #undef malloc */,#undef malloc,' config.h
|
sed -i=".backup" 's,/* #undef malloc */,#undef malloc,' config.h
|
||||||
|
sed -i=".backup" 's,/* #undef realloc */,#undef realloc,' config.h
|
||||||
echo -n " compiling..."
|
echo -n " compiling..."
|
||||||
make -j $THREADS >> "$DIR/install.log" 2>&1
|
make -j $THREADS >> "$DIR/install.log" 2>&1
|
||||||
echo -n " installing..."
|
echo -n " installing..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user