summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/ngspice/ngspice-40.ebuild')
-rw-r--r--sci-electronics/ngspice/ngspice-40.ebuild9
1 files 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
}