commit: 35e75cab3a9fa13fae9cc51e1901f39d99d84602
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 31 13:00:32 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 31 13:00:32 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35e75cab
sys-apps/sandbox: use filter-lto, BDEPEND
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/sandbox/sandbox-2.30.ebuild | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/sys-apps/sandbox/sandbox-2.30.ebuild
b/sys-apps/sandbox/sandbox-2.30.ebuild
index faed8b2a7983..806b5e640d9c 100644
--- a/sys-apps/sandbox/sandbox-2.30.ebuild
+++ b/sys-apps/sandbox/sandbox-2.30.ebuild
@@ -14,9 +14,9 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86"
IUSE="+nnp"
-DEPEND="app-arch/xz-utils
- >=app-misc/pax-utils-0.1.19" #265376
-RDEPEND=""
+# pax-utils lower bound for bug #265376
+DEPEND=">=app-misc/pax-utils-0.1.19"
+BDEPEND="app-arch/xz-utils"
has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS+="
sandbox_death_notice"
@@ -34,8 +34,7 @@ src_prepare() {
# sandbox uses `__asm__ (".symver "...` which does
# not play well with gcc's LTO: https://gcc.gnu.org/PR48200
- append-flags -fno-lto
- append-ldflags -fno-lto
+ filter-lto
}
multilib_src_configure() {