summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-04 22:21:38 -0500
committerSam James <sam@gentoo.org>2024-03-05 04:47:51 +0000
commit3e255fb3f9352a6662923b47114ad8d7cc4f4e35 (patch)
tree1dbb03e8c3a8ac94c114baf314c600b6fd7b050a /sci-electronics
parentsci-mathematics/glpk: mark as LTO-unsafe, strict-aliasing unsafe (diff)
downloadgentoo-3e255fb3f9352a6662923b47114ad8d7cc4f4e35.tar.gz
gentoo-3e255fb3f9352a6662923b47114ad8d7cc4f4e35.tar.bz2
gentoo-3e255fb3f9352a6662923b47114ad8d7cc4f4e35.zip
sci-electronics/xoscope: mark as LTO-unsafe
Upstream is: - sourceforge - inactive for 3 years I did not bother to report a bug as it seems all pain, no gain. Closes: https://bugs.gentoo.org/878065 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/xoscope/xoscope-2.3.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/sci-electronics/xoscope/xoscope-2.3.ebuild b/sci-electronics/xoscope/xoscope-2.3.ebuild
index 69434a3f9cfc..59831c2b3e22 100644
--- a/sci-electronics/xoscope/xoscope-2.3.ebuild
+++ b/sci-electronics/xoscope/xoscope-2.3.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 linux-info
+inherit autotools flag-o-matic linux-info
DESCRIPTION="Soundcard Oscilloscope for X"
HOMEPAGE="http://xoscope.sourceforge.net"
@@ -32,3 +32,12 @@ src_prepare() {
default
eautoreconf
}
+
+src_compile() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/878065
+ # Upstream is a) sourceforge, b) inactive for 3 years. Bug not reported.
+ filter-lto
+
+ default
+}