summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-12 03:23:11 +0000
committerSam James <sam@gentoo.org>2024-03-12 03:30:51 +0000
commit2f4838d48730805078e00bd26722480e9c54a561 (patch)
tree38b6c69a62e8f7e64149425b6f54b914108062b0 /net-fs/openafs
parentnet-wireless/bladerf: mark as LTO-unsafe (diff)
downloadgentoo-2f4838d48730805078e00bd26722480e9c54a561.tar.gz
gentoo-2f4838d48730805078e00bd26722480e9c54a561.tar.bz2
gentoo-2f4838d48730805078e00bd26722480e9c54a561.zip
net-fs/openafs: filter LTO
As recommended by an upstream contributor (albeit 2 years ago...) Closes: https://bugs.gentoo.org/861368 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-fs/openafs')
-rw-r--r--net-fs/openafs/openafs-1.8.7.ebuild3
-rw-r--r--net-fs/openafs/openafs-1.8.8.1-r1.ebuild3
2 files changed, 6 insertions, 0 deletions
diff --git a/net-fs/openafs/openafs-1.8.7.ebuild b/net-fs/openafs/openafs-1.8.7.ebuild
index 127b34276d5a..62bb91c024f5 100644
--- a/net-fs/openafs/openafs-1.8.7.ebuild
+++ b/net-fs/openafs/openafs-1.8.7.ebuild
@@ -114,6 +114,9 @@ src_prepare() {
src_configure() {
local -a myconf
+ # bug #861368
+ filter-lto
+
if use debug; then
use kauth && myconf+=( --enable-debug-pam )
use modules && myconf+=( --enable-debug-kernel )
diff --git a/net-fs/openafs/openafs-1.8.8.1-r1.ebuild b/net-fs/openafs/openafs-1.8.8.1-r1.ebuild
index c4462d09ffa7..8b891ceb331f 100644
--- a/net-fs/openafs/openafs-1.8.8.1-r1.ebuild
+++ b/net-fs/openafs/openafs-1.8.8.1-r1.ebuild
@@ -113,6 +113,9 @@ src_prepare() {
src_configure() {
local -a myconf
+ # bug #861368
+ filter-lto
+
if use debug; then
use kauth && myconf+=( --enable-debug-pam )
use modules && myconf+=( --enable-debug-kernel )