File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,13 @@ case "$(lsb_release -cs)" in
24
24
esac
25
25
26
26
# Extra "configure" options for libtorrent and rtorrent
27
+ #
28
+ # MIPS | PowerPC | ARM users, read https://github.com/rakshasa/rtorrent/issues/156
27
29
export CFG_OPTS=" "
28
- # #export CFG_OPTS="--enable-debug --enable-extra-debug"
30
+ # #export CFG_OPTS="$CFG_OPTS --enable-debug --enable-extra-debug"
31
+ export CFG_OPTS_LT=" $CFG_OPTS "
32
+ # #export CFG_OPTS_LT="$CFG_OPTS_LT --disable-instrumentation"
33
+ export CFG_OPTS_RT=" $CFG_OPTS "
29
34
30
35
# Try this when you get configure errors regarding xmlrpc-c
31
36
# ... on a Intel PC type system with certain types of CPUs:
@@ -294,10 +299,11 @@ build_deps() {
294
299
295
300
build () { # Build and install all components
296
301
( cd libtorrent-$LT_VERSION && ( test ${SVN:- 0} = 0 || automagic ) \
297
- && ./configure $CFG_OPTS && make && make DESTDIR=$INST_DIR prefix= install )
302
+ && ./configure $CFG_OPTS_LT && make && make DESTDIR=$INST_DIR prefix= install )
298
303
$SED_I s:/usr/local:$INST_DIR : $INST_DIR /lib/pkgconfig/* .pc $INST_DIR /lib/* .la
299
304
( cd rtorrent-$RT_VERSION && ( test ${SVN:- 0} = 0 || automagic ) \
300
- && ./configure $CFG_OPTS --with-xmlrpc-c=$INST_DIR /bin/xmlrpc-c-config && make && make DESTDIR=$INST_DIR prefix= install )
305
+ && ./configure $CFG_OPTS_RT --with-xmlrpc-c=$INST_DIR /bin/xmlrpc-c-config \
306
+ && make && make DESTDIR=$INST_DIR prefix= install )
301
307
}
302
308
303
309
extend () { # Rebuild and install libtorrent and rTorrent with patches applied
You can’t perform that action at this time.
0 commit comments