summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-21 01:04:12 -0400
committerSam James <sam@gentoo.org>2024-03-21 05:57:39 +0000
commit1865b28c2a78c25d81aca07fd7def4680b07dc70 (patch)
tree364d5eaa719e19c1a626a301636256c886f27133 /sci-electronics
parentdev-python/grpcio: mark as LTO-unsafe (diff)
downloadgentoo-1865b28c2a78c25d81aca07fd7def4680b07dc70.tar.gz
gentoo-1865b28c2a78c25d81aca07fd7def4680b07dc70.tar.bz2
gentoo-1865b28c2a78c25d81aca07fd7def4680b07dc70.zip
sci-electronics/gsmc: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/862456 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/gsmc/gsmc-1.1-r3.ebuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/sci-electronics/gsmc/gsmc-1.1-r3.ebuild b/sci-electronics/gsmc/gsmc-1.1-r3.ebuild
index ebd74cd54aa1..7abf1fbc2832 100644
--- a/sci-electronics/gsmc/gsmc-1.1-r3.ebuild
+++ b/sci-electronics/gsmc/gsmc-1.1-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=8
-inherit autotools
+inherit autotools flag-o-matic
DESCRIPTION="A GTK program for doing Smith Chart calculations"
HOMEPAGE="https://www.qsl.net/ik5nax/"
@@ -30,6 +30,16 @@ src_prepare() {
eautoreconf
}
+src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/862456
+ #
+ # Upstream software dates to 2004 with no sign of activity.
+ filter-lto
+
+ default
+}
+
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS NEWS README TODO