From cae73f158e7044195ea182a183e24b9f3ce9beec Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 3 Dec 2015 18:08:55 +0100 Subject: php 7: build with --disable-huge-code-pages on EL-6 --- php70.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/php70.spec b/php70.spec index d39dbfe..07b7adb 100644 --- a/php70.spec +++ b/php70.spec @@ -133,7 +133,7 @@ %endif #global rcver RC8 -%global rpmrel 1 +%global rpmrel 2 Summary: PHP scripting language for creating dynamic web sites Name: php @@ -1223,6 +1223,9 @@ build --libdir=%{_libdir}/php \ --enable-pcntl \ --enable-opcache \ --enable-opcache-file \ +%if 0%{?rhel} == 6 + --disable-huge-code-pages \ +%endif --enable-phpdbg \ --with-imap=shared --with-imap-ssl \ --enable-mbstring=shared \ @@ -1367,6 +1370,9 @@ build --includedir=%{_includedir}/php-zts \ --enable-pcntl \ --enable-opcache \ --enable-opcache-file \ +%if 0%{?rhel} == 6 + --disable-huge-code-pages \ +%endif --with-imap=shared --with-imap-ssl \ --enable-mbstring=shared \ --enable-mbregex \ @@ -2006,6 +2012,9 @@ fi %changelog +* Thu Dec 3 2015 Remi Collet 7.0.0-2 +- build with --disable-huge-code-pages on EL-6 + * Tue Dec 1 2015 Remi Collet 7.0.0-1 - Update to 7.0.0 http://www.php.net/releases/7_0_0.php -- cgit