commit:     4cf1d792f97f62ec5912a8d67c4286b65a8e0365
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 12 00:35:01 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 12 00:36:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cf1d792

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 <sam <AT> gentoo.org>

 .../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 3c35af98da4d..11bcb7e6df4d 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=(

Reply via email to