From 4cf1d792f97f62ec5912a8d67c4286b65a8e0365 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 12 May 2025 01:35:01 +0100 Subject: [PATCH] dev-games/openscenegraph-openmw: filter -fno-semantic-interposition w/ LTO It's the same strange -Wodr issue that pops up w/ -fno-semanticc-interposition every so often. Closes: https://bugs.gentoo.org/955848 Signed-off-by: Sam James --- .../openscenegraph-openmw-3.6_p20221115-r1.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-games/openscenegraph-openmw/openscenegraph-openmw-3.6_p20221115-r1.ebuild b/dev-games/openscenegraph-openmw/openscenegraph-openmw-3.6_p20221115-r1.ebuild index 3c35af98da4d0..11bcb7e6df4d4 100644 --- a/dev-games/openscenegraph-openmw/openscenegraph-openmw-3.6_p20221115-r1.ebuild +++ b/dev-games/openscenegraph-openmw/openscenegraph-openmw-3.6_p20221115-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 LUA_COMPAT=( lua5-1 ) WX_GTK_VER="3.2-gtk3" -inherit cmake flag-o-matic lua-single wxwidgets +inherit cmake flag-o-matic lua-single toolchain-funcs wxwidgets MY_COMMIT="69cfecebfb6dc703b42e8de39eed750a84a87489" @@ -103,6 +103,8 @@ src_configure() { # Needed by FFmpeg append-cppflags -D__STDC_CONSTANT_MACROS + # bug #955848 + tc-is-lto && filter-flags -fno-semantic-interposition local libdir=$(get_libdir) local mycmakeargs=(