Mail archive
alpine-aports

[alpine-aports] [PATCH 5/6] community/php7: disable jit on s390x

From: Tuan M. Hoang <tmhoang_at_flatglobe.org>
Date: Tue, 11 Apr 2017 21:00:14 -0400

---
 community/php7/APKBUILD | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/community/php7/APKBUILD b/community/php7/APKBUILD
index 15aec60af4..62a8fa1e60 100644
--- a/community/php7/APKBUILD
+++ b/community/php7/APKBUILD
_at_@ -71,6 +71,7 @@ prepare() {
 }
 
 _build() {
+	[ "$CARCH" = "s390x" ] && _disable_pcre_jit="--without-pcre-jit"
 	export EXTENSION_DIR=/usr/lib/$pkgname/modules
 	./configure \
 		--build=$CBUILD \
_at_@ -89,6 +90,7 @@ _build() {
 		--disable-short-tags \
 		--with-openssl=shared --with-kerberos --with-system-ciphers \
 		--with-pcre-regex --with-pcre-dir \
+		$_disable_pcre_jit \
 		--with-zlib=shared --with-zlib-dir \
 		--enable-bcmath=shared \
 		--with-bz2=shared \
-- 
2.12.2
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Apr 11 2017 - 21:00:14 UTC