net-p2p/rtorrent: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/861848
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Eli Schwartz
2024-02-28 23:21:46 -05:00
committed by Sam James
parent a5223b0613
commit 6708cbb7fc
2 changed files with 13 additions and 3 deletions

View File

@@ -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

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
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/"
@@ -57,6 +57,11 @@ src_prepare() {
}
src_configure() {
# -Werror=odr
# https://bugs.gentoo.org/861848
# https://github.com/rakshasa/rtorrent/issues/1264
filter-lto
# configure needs bash or script bombs out on some null shift, bug #291229
CONFIG_SHELL=${BASH} econf \
$(use_enable debug) \