From 1edd263f2352536f78d1c76c6db0f196605d47a4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 6 Nov 2018 10:51:53 +0100 Subject: update to 1.1.3 add devel sub-package adopt standard php build system (phpize) --- php-zephir-parser-build.patch | 77 ------------------------------------------- 1 file changed, 77 deletions(-) delete mode 100644 php-zephir-parser-build.patch (limited to 'php-zephir-parser-build.patch') diff --git a/php-zephir-parser-build.patch b/php-zephir-parser-build.patch deleted file mode 100644 index 27c2ef1..0000000 --- a/php-zephir-parser-build.patch +++ /dev/null @@ -1,77 +0,0 @@ -diff -up ./install.rpm ./install ---- ./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 || true` -@@ -91,28 +90,6 @@ if [ "${PHP_FULL_VERSION:0:3}" == "5.4" - exit 1 - fi - --# Detect possible flags --echo "int main() {}" > t.c --gcc ${CFLAGS} t.c -o t 2> t.t --if [ $? != 0 ]; then -- chmod +x gcccpuopt -- BFLAGS=`./gcccpuopt` -- export CFLAGS="-O2 -fomit-frame-pointer $BFLAGS" -- gcc ${CFLAGS} t.c -o t 2> t.t -- if [ $? != 0 ]; then -- export CFLAGS="-O2" -- fi --fi -- --# Activate some gcc specific optimizations for gcc >= 4 --if [ $(gcc -dumpversion | cut -f1 -d.) -ge 4 ]; then -- gcc ${CFLAGS} -fvisibility=hidden t.c -o t 2> t.t && export CFLAGS="$CFLAGS -fvisibility=hidden" --fi -- --gcc ${CFLAGS} -flto t.c -o t 2> t.t && { export CFLAGS="$CFLAGS -flto"; export LDFLAGS="$LDFLAGS $CFLAGS"; } -- --rm -f t.t t.c t -- - cd ${CURRENT_DIR}/parser - - # Cleanup -@@ -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 -- --# Perform the compilation --make -s -j"$(getconf _NPROCESSORS_ONLN)" --make -s install -- --# Clean current compilation --if [ -f Makefile ]; then -- make -s clean -- ${PHPIZE_BIN} --clean --fi -- --cd ${CURRENT_DIR}/parser -- --# Cleanup --rm -f \ -- *.o \ -- *.lo \ -- lemon \ -- scanner.c \ -- parser.c \ -- parser.php5.c \ -- parser.php5.h \ -- parser.php5.out \ -- parser.php7.c \ -- parser.php7.h \ -- parser.php7.out \ -- config.h.in~ -- --echo -e "\nThanks for compiling Zephir Parser!\nBuild succeed: Please restart your web server to complete the installation\n" -- cgit