summaryrefslogtreecommitdiff
path: root/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild')
-rw-r--r--net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild
index bc460bab122e..cc07aef717a8 100644
--- a/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild
+++ b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit autotools linux-info systemd
+inherit autotools flag-o-matic linux-info systemd
DESCRIPTION="BitTorrent Client using libtorrent"
HOMEPAGE="https://rakshasa.github.io/rtorrent/"
@@ -56,6 +56,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/861848
+ # https://github.com/rakshasa/rtorrent/issues/1264
+ filter-lto
+
default
# configure needs bash or script bombs out on some null shift, bug #291229