media-libs/libglvnd: filter LTO for GCC 16 for now

Hit by the top-level asm partitioning changes. Not worrying about this
for now as more work is ongoing.

Keeping bug open as we want to revisit this befor release.

Bug: https://bugs.gentoo.org/965545
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-11-06 12:09:29 +00:00
parent f73607ce02
commit b288d27d59
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 14 additions and 2 deletions

View File

@ -6,7 +6,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..14} )
VIRTUALX_REQUIRED=manual
inherit meson-multilib python-any-r1 virtualx
inherit meson-multilib flag-o-matic python-any-r1 toolchain-funcs virtualx
DESCRIPTION="The GL Vendor-Neutral Dispatch library"
HOMEPAGE="https://gitlab.freedesktop.org/glvnd/libglvnd"
@ -43,6 +43,12 @@ src_prepare() {
bin/symbols-check.py || die
}
src_configure() {
# Workaround for bug #965545
tc-is-gcc && [[ $(gcc-major-version) -eq 16 ]] && filter-lto
meson-multilib_src_configure
}
multilib_src_configure() {
local emesonargs=(
$(meson_feature X x11)

View File

@ -6,7 +6,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..14} )
VIRTUALX_REQUIRED=manual
inherit meson-multilib python-any-r1 virtualx
inherit meson-multilib flag-o-matic python-any-r1 toolchain-funcs virtualx
DESCRIPTION="The GL Vendor-Neutral Dispatch library"
HOMEPAGE="https://gitlab.freedesktop.org/glvnd/libglvnd"
@ -41,6 +41,12 @@ src_prepare() {
bin/symbols-check.py || die
}
src_configure() {
# Workaround for bug #965545
tc-is-gcc && [[ $(gcc-major-version) -eq 16 ]] && filter-lto
meson-multilib_src_configure
}
multilib_src_configure() {
local emesonargs=(
$(meson_feature X x11)