libtorrent: fix build on ppc32 and mips
[ci skip]
This commit is contained in:
parent
3092073cb6
commit
2610e0d431
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue