pcre: fix mips* builds

With --disable-stack-for-recursion the mips* builds fail with
some `branch out of range' generated assembler code.
This commit is contained in:
Jürgen Buchmüller 2018-01-19 09:39:31 +01:00
parent ed3fce89f5
commit 6c9b10d0c3
1 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,7 @@ revision=2
build_style=gnu-configure
configure_args="--enable-utf8 --enable-unicode-properties --with-pic
--enable-pcregrep-libz --enable-pcregrep-libbz2 --enable-newline-is-anycrlf
--enable-pcretest-libedit --enable-jit --enable-static --disable-stack-for-recursion"
--enable-pcretest-libedit --enable-jit --enable-static"
makedepends="zlib-devel bzip2-devel libedit-devel"
short_desc="Perl Compatible Regular Expressions"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -15,6 +15,10 @@ license="BSD"
distfiles="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-${version}.tar.bz2"
checksum=e62c7eac5ae7c0e7286db61ff82912e1c0b7a0c13706616e94a7dd729321b530
case "$XBPS_TARGET_MACHINE" in
mips*) ;; # Without stack for recursion the mips builds fail
*) configure_args+=" --disable-stack-for-recursion" ;;
esac
post_install() {
vlicense LICENCE