From e2cd98b5eb5fc5871462d09fda3099bf81f5af053cdd23e614a4b2209718c89b Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 20 Jul 2012 17:46:20 +0000 Subject: [PATCH] Accepting request 128420 from home:jengelh:branches:Base:System - Only use --enable-jit on supported architectures; the build will otherwise fail (e.g. on sparc). OBS-URL: https://build.opensuse.org/request/show/128420 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcre?expand=0&rev=39 --- pcre.changes | 6 ++++++ pcre.spec | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/pcre.changes b/pcre.changes index ae4d3d2..a69234c 100644 --- a/pcre.changes +++ b/pcre.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 19 17:18:04 UTC 2012 - jengelh@inai.de + +- Only use --enable-jit on supported architectures; the build will + otherwise fail (e.g. on sparc). + ------------------------------------------------------------------- Thu May 10 15:59:21 UTC 2012 - afaerber@suse.de diff --git a/pcre.spec b/pcre.spec index b511524..00e42a4 100644 --- a/pcre.spec +++ b/pcre.spec @@ -127,8 +127,13 @@ as Perl 5. %patch %build +# Available JIT archs see sljit/sljitConfig.h autoreconf -fiv -%configure --enable-jit --enable-static \ +%configure \ +%ifarch %ix86 x86_64 %arm ppc ppc64 mips + --enable-jit \ +%endif + --enable-static \ --with-link-size=2 \ --with-match-limit=10000000 \ --enable-newline-is-lf \