summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-24 22:51:46 -0400
committerSam James <sam@gentoo.org>2024-03-25 09:20:45 +0000
commit36a9108dbab3a5ca53d03a214f8a9d3568a9c272 (patch)
tree700137ddcb912cc6ba66f88fd20e634f849a87ed /sci-electronics
parentmedia-plugins/cmt-plugins: update EAPI 7 -> 8 (diff)
downloadgentoo-36a9108dbab3a5ca53d03a214f8a9d3568a9c272.tar.gz
gentoo-36a9108dbab3a5ca53d03a214f8a9d3568a9c272.tar.bz2
gentoo-36a9108dbab3a5ca53d03a214f8a9d3568a9c272.zip
sci-electronics/ngspice: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/862513 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-electronics')
-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
}