commit:     ae5b7c5a861d48d9602d4614649553ebbe47e9ad
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 14 04:40:22 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 06:05:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae5b7c5a

sci-electronics/fasthenry: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/862450
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-electronics/fasthenry/fasthenry-3.0.20.07.17.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/sci-electronics/fasthenry/fasthenry-3.0.20.07.17.ebuild 
b/sci-electronics/fasthenry/fasthenry-3.0.20.07.17.ebuild
index ee1cef974df8..aa308adbcf52 100644
--- a/sci-electronics/fasthenry/fasthenry-3.0.20.07.17.ebuild
+++ b/sci-electronics/fasthenry/fasthenry-3.0.20.07.17.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Three dimensional inductance computation program, Whiteley 
Research version"
 HOMEPAGE="http://www.wrcad.com/freestuff.html";
@@ -27,6 +27,13 @@ PATCHES=(
 )
 
 src_compile() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/862450
+       #
+       # Upstream provides a contact email. I have sent an email describing the
+       # bug.
+       filter-lto
+
        tc-export CC AR
        emake all
 }

Reply via email to