From 2610e0d43131ea511fe806b343ab0c9fe3073109 Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 3 Dec 2019 18:40:42 +0100 Subject: [PATCH] libtorrent: fix build on ppc32 and mips [ci skip] --- srcpkgs/libtorrent/template | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/srcpkgs/libtorrent/template b/srcpkgs/libtorrent/template index 060b071e4cf..9408171f3e8 100644 --- a/srcpkgs/libtorrent/template +++ b/srcpkgs/libtorrent/template @@ -14,6 +14,12 @@ homepage="https://github.com/rakshasa/${pkgname}" distfiles="https://github.com/rakshasa/${pkgname}/archive/v${version}.tar.gz" checksum=0f6c2e7ffd3a1723ab47fdac785ec40f85c0a5b5a42c1d002272205b988be722 +# https://github.com/rakshasa/rtorrent/issues/156 +case "$XBPS_TARGET_MACHINE" in + ppc64*) ;; + ppc*|mips*) configure_args+=" --disable-instrumentation";; +esac + pre_configure() { autoreconf -fi sed -e 's,test "$cross_compiling" = yes, false,' -i configure