summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-04 01:27:15 -0500
committerSam James <sam@gentoo.org>2024-03-05 04:46:43 +0000
commitc662838064b0e22645e922909f6dbab1dcab23c5 (patch)
tree833fd310d714fc4826460c2a986b218d6c41f52b /sys-apps
parentapp-admin/awscli: Bump to 1.32.55 (diff)
downloadgentoo-c662838064b0e22645e922909f6dbab1dcab23c5.tar.gz
gentoo-c662838064b0e22645e922909f6dbab1dcab23c5.tar.bz2
gentoo-c662838064b0e22645e922909f6dbab1dcab23c5.zip
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@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/uutils-coreutils/uutils-coreutils-0.0.24.ebuild5
-rw-r--r--sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild5
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="
zip@0.6.6
"
-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="
zip@0.6.6
"
-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