x11-libs/wxGTK: filter -fno-semantic-interposition with LTO

Same as 3f9bf9b786 and 4cf1d792f9.

Closes: https://bugs.gentoo.org/952961
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-05-13 01:43:22 +01:00
parent eadac98eee
commit 08fe00866f

View File

@@ -3,7 +3,7 @@
EAPI=8
inherit multilib-minimal flag-o-matic
inherit multilib-minimal flag-o-matic toolchain-funcs
WXSUBVERSION="${PV}-gtk3" # 3.2.6-gtk3
WXVERSION="$(ver_cut 1-3)" # 3.2.6
@@ -127,6 +127,9 @@ multilib_src_configure() {
use wayland || append-cflags -DGENTOO_GTK_HIDE_WAYLAND
use X || append-cflags -DGENTOO_GTK_HIDE_X11
# bug #952961
tc-is-lto && filter-flags -fno-semantic-interposition
# Workaround for bug #915154
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)