From dc940ffcb6fe799e1e0779471819293ece6d335b Mon Sep 17 00:00:00 2001 From: Brandon V Date: Sun, 1 Sep 2013 13:51:40 -0500 Subject: [PATCH] Fix for cross compiling php --- src/build/compile.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/build/compile.sh b/src/build/compile.sh index c3e835fa..0eca0901 100755 --- a/src/build/compile.sh +++ b/src/build/compile.sh @@ -224,6 +224,8 @@ rm -f ./configure >> "$DIR/install.log" 2>&1 if [ "$1" == "crosscompile" ]; then sed -i 's/pthreads_working=no/pthreads_working=yes/' ./configure export LIBS="-lpthread -ldl" + CONFIGURE_FLAGS="$CONFIGURE_FLAGS --enable-opcache=no" + fi ./configure $OPTIMIZATION--prefix="$DIR/php5" \ --exec-prefix="$DIR/php5" \