wok-next rev 20712
libtorrent: fix rtorrent building for non-64bit archs
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 12:13:53 2018 +0300 (2018-05-27) |
parents | 9b776cbcad4e |
children | 2463fe85055d |
files | libtorrent/receipt |
line diff
1.1 --- a/libtorrent/receipt Sun May 27 04:52:59 2018 +0300 1.2 +++ b/libtorrent/receipt Sun May 27 12:13:53 2018 +0300 1.3 @@ -25,8 +25,15 @@ 1.4 ./autogen.sh 1.5 export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" 1.6 1.7 + # see https://github.com/rakshasa/rtorrent/issues/156 1.8 + case $ARCH in 1.9 + x86_64) ARCH_ARGS='';; 1.10 + *) ARCH_ARGS='--disable-instrumentation';; 1.11 + esac 1.12 + 1.13 ./configure \ 1.14 --disable-debug \ 1.15 + $ARCH_ARGS \ 1.16 $CONFIGURE_ARGS && 1.17 fix libtool && 1.18 make &&