commit: c662838064b0e22645e922909f6dbab1dcab23c5 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Mon Mar 4 06:27:15 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Mar 5 04:46:43 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6628380
sys-apps/uutils-coreutils: mark as LTO-unsafe Normally cargo.eclass sets this for us but we do not use cargo_src_compile. Closes: https://bugs.gentoo.org/863716 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/uutils-coreutils/uutils-coreutils-0.0.24.ebuild | 5 ++++- sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sys-apps/uutils-coreutils/uutils-coreutils-0.0.24.ebuild b/sys-apps/uutils-coreutils/uutils-coreutils-0.0.24.ebuild index 45e1d27dd2c5..01082d0ebeb1 100644 --- a/sys-apps/uutils-coreutils/uutils-coreutils-0.0.24.ebuild +++ b/sys-apps/uutils-coreutils/uutils-coreutils-0.0.24.ebuild @@ -283,7 +283,7 @@ CRATES=" [email protected] " -inherit cargo +inherit cargo flag-o-matic DESCRIPTION="GNU coreutils rewritten in Rust" HOMEPAGE="https://uutils.github.io/coreutils/ https://github.com/uutils/coreutils" @@ -338,6 +338,9 @@ src_unpack() { } src_compile() { + # normally cargo_src_compile sets this for us, but we don't use it + filter-lto + makeargs=( # Disable output synchronisation as make calls cargo -Onone diff --git a/sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild b/sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild index 45e1d27dd2c5..01082d0ebeb1 100644 --- a/sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild +++ b/sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild @@ -283,7 +283,7 @@ CRATES=" [email protected] " -inherit cargo +inherit cargo flag-o-matic DESCRIPTION="GNU coreutils rewritten in Rust" HOMEPAGE="https://uutils.github.io/coreutils/ https://github.com/uutils/coreutils" @@ -338,6 +338,9 @@ src_unpack() { } src_compile() { + # normally cargo_src_compile sets this for us, but we don't use it + filter-lto + makeargs=( # Disable output synchronisation as make calls cargo -Onone
