commit:     d29ef6046e36595d339b115bbdd265e41657fea8
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  5 23:04:15 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Aug  6 00:18:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d29ef604

net-dialup/freeradius-client: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/927175
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 net-dialup/freeradius-client/freeradius-client-1.1.7-r3.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r3.ebuild 
b/net-dialup/freeradius-client/freeradius-client-1.1.7-r3.ebuild
index 45d79ae7e6ab..689d7739251d 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r3.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r3.ebuild
@@ -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=7
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="FreeRADIUS Client framework"
 HOMEPAGE="https://wiki.freeradius.org/project/Radiusclient";
@@ -40,6 +40,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/927175
+       # https://github.com/FreeRADIUS/freeradius-client/issues/128
+       filter-lto
+
        local myeconfargs=(
                $(use_enable scp)
                $(use_enable shadow)

Reply via email to