Mail archive
alpine-aports

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

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

---
 community/pcre2/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/community/pcre2/APKBUILD b/community/pcre2/APKBUILD
index 7a892dede2..4072d35a2a 100644
--- a/community/pcre2/APKBUILD
+++ b/community/pcre2/APKBUILD
_at_@ -19,6 +19,7 @@ build() {
 	cd "$builddir"
 
 	# Note: Forced -O3 is recommended (needed?) for Julia.
+	[ "$CARCH" != "s390x" ] && _enable_jit="--enable-jit"
 	./configure \
 		CFLAGS="$CFLAGS -O3" \
 		--build=$CBUILD \
_at_@ -28,11 +29,10 @@ build() {
 		--htmldir=/usr/share/doc/$pkgname-$pkgver/html \
 		--enable-pcre2-16 \
 		--enable-pcre2-32 \
-		--enable-jit \
 		--enable-pcre2grep-libz \
 		--enable-pcre2test-libedit \
 		--with-match-limit-recursion=8192 \
-		|| return 1
+		$_enable_jit
 	make
 }
 
-- 
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:16 GMT