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 \