mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
x11-libs/wxGTK: filter -fno-semantic-interposition with LTO
Same as3f9bf9b786and4cf1d792f9. Closes: https://bugs.gentoo.org/952961 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user