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:
@@ -5,7 +5,7 @@ revision=2
|
|||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-utf8 --enable-unicode-properties --with-pic
|
configure_args="--enable-utf8 --enable-unicode-properties --with-pic
|
||||||
--enable-pcregrep-libz --enable-pcregrep-libbz2 --enable-newline-is-anycrlf
|
--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"
|
makedepends="zlib-devel bzip2-devel libedit-devel"
|
||||||
short_desc="Perl Compatible Regular Expressions"
|
short_desc="Perl Compatible Regular Expressions"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
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"
|
distfiles="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-${version}.tar.bz2"
|
||||||
checksum=e62c7eac5ae7c0e7286db61ff82912e1c0b7a0c13706616e94a7dd729321b530
|
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() {
|
post_install() {
|
||||||
vlicense LICENCE
|
vlicense LICENCE
|
||||||
|
|||||||
Reference in New Issue
Block a user