diff --git a/x11-libs/wxGTK/wxGTK-3.2.8.ebuild b/x11-libs/wxGTK/wxGTK-3.2.8.ebuild index 38fba1b7d2a79..5a3fd91a45dd5 100644 --- a/x11-libs/wxGTK/wxGTK-3.2.8.ebuild +++ b/x11-libs/wxGTK/wxGTK-3.2.8.ebuild @@ -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)