summaryrefslogtreecommitdiffstats
path: root/php-zephir-parser-build.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-11-10 07:03:19 +0100
committerRemi Collet <remi@remirepo.net>2017-11-10 07:03:19 +0100
commit07bf8b7fdf8c478b456d639de004ede8973966fd (patch)
tree662e775e2384f4c64a661807361c991985513589 /php-zephir-parser-build.patch
parenteda11ce9f13cd0582be607551a41e52c7b57c932 (diff)
v1.1.1
Diffstat (limited to 'php-zephir-parser-build.patch')
-rw-r--r--php-zephir-parser-build.patch21
1 files changed, 12 insertions, 9 deletions
diff --git a/php-zephir-parser-build.patch b/php-zephir-parser-build.patch
index 6c16bcb..27c2ef1 100644
--- a/php-zephir-parser-build.patch
+++ b/php-zephir-parser-build.patch
@@ -1,15 +1,15 @@
diff -up ./install.rpm ./install
---- ./install.rpm 2017-10-12 11:26:32.000000000 +0200
-+++ ./install 2017-10-12 11:29:16.000000000 +0200
-@@ -33,7 +33,6 @@ fi
+--- ./install.rpm 2017-11-09 08:30:30.000000000 +0100
++++ ./install 2017-11-10 06:55:13.646045853 +0100
+@@ -50,7 +50,6 @@ fi
# Check best compilation flags for compiler
export CC=gcc
-export CFLAGS="-march=native -mtune=native -O2 -fomit-frame-pointer"
# Set defaults
- PHPIZE_BIN=$(command -v phpize 2>/dev/null)
-@@ -74,28 +73,6 @@ if [ "${PHP_FULL_VERSION:0:3}" == "5.4"
+ PHPIZE_BIN=`command -v phpize 2>/dev/null || true`
+@@ -91,28 +90,6 @@ if [ "${PHP_FULL_VERSION:0:3}" == "5.4"
exit 1
fi
@@ -38,12 +38,16 @@ diff -up ./install.rpm ./install
cd ${CURRENT_DIR}/parser
# Cleanup
-@@ -166,33 +143,3 @@ if [ "$(uname -s 2>/dev/null)" = "Darwin
- aclocal && ${LIBTOOLIZE_BIN} --force && autoheader && autoconf
+@@ -182,36 +159,3 @@ if [ "$(uname -s 2>/dev/null)" = "Darwin
+ aclocal && ${LIBTOOLIZE_BIN} --force && autoheader && autoconf
fi
--./configure --silent --with-php-config=${PHPCONFIG_BIN} --enable-zephir_parser
+-./configure \
+- --silent \
+- --with-php-config=${PHPCONFIG_BIN} \
+- --enable-zephir_parser
-
+-# Perform the compilation
-make -s -j"$(getconf _NPROCESSORS_ONLN)"
-make -s install
-
@@ -71,4 +75,3 @@ diff -up ./install.rpm ./install
- config.h.in~
-
-echo -e "\nThanks for compiling Zephir Parser!\nBuild succeed: Please restart your web server to complete the installation\n"
--