summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-11 21:45:36 -0400
committerSam James <sam@gentoo.org>2024-03-12 02:24:47 +0000
commit8b035ee2a03df85e58a5b61d318ecd99bde83e89 (patch)
treebd5e45ab156e9f52122ba122f0a6ea3790987535 /games-sports
parentdev-util/hip: mark as LTO-unsafe, strict-aliasing unsafe (diff)
downloadgentoo-8b035ee2a03df85e58a5b61d318ecd99bde83e89.tar.gz
gentoo-8b035ee2a03df85e58a5b61d318ecd99bde83e89.tar.bz2
gentoo-8b035ee2a03df85e58a5b61d318ecd99bde83e89.zip
games-sports/foobillard: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/859235 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/foobillard/foobillard-3.0a-r1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/games-sports/foobillard/foobillard-3.0a-r1.ebuild b/games-sports/foobillard/foobillard-3.0a-r1.ebuild
index ad8a7bd2411d..3cb4c991c6c5 100644
--- a/games-sports/foobillard/foobillard-3.0a-r1.ebuild
+++ b/games-sports/foobillard/foobillard-3.0a-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -46,6 +46,12 @@ src_prepare() {
}
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/859235
+ #
+ # Upstream is sourceforge, and dead since 2010. Not reported upstream.
+ filter-lto
+
use video_cards_nvidia && append-ldflags -L/usr/$(get_libdir)/opengl/nvidia/lib
econf \
--enable-sound \