commit: 36a9108dbab3a5ca53d03a214f8a9d3568a9c272 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Mon Mar 25 02:51:46 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Mar 25 09:20:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36a9108d
sci-electronics/ngspice: mark as LTO-unsafe Closes: https://bugs.gentoo.org/862513 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> sci-electronics/ngspice/ngspice-40.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sci-electronics/ngspice/ngspice-40.ebuild b/sci-electronics/ngspice/ngspice-40.ebuild index f29cb217b6fe..edc0fffedaa4 100644 --- a/sci-electronics/ngspice/ngspice-40.ebuild +++ b/sci-electronics/ngspice/ngspice-40.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=8 -inherit autotools multibuild toolchain-funcs virtualx +inherit autotools flag-o-matic multibuild toolchain-funcs virtualx DESCRIPTION="The Next Generation Spice (Electronic Circuit Simulator)" HOMEPAGE="http://ngspice.sourceforge.net" @@ -80,6 +80,11 @@ src_prepare() { } src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/862513 + # https://sourceforge.net/p/ngspice/bugs/665/ + filter-lto + multibuild_foreach_variant ngspice_configure }
