dev-qt/qtquick3d: work around build failure with gcc-16 in 6.9.3

Could not reproduce using (masked) Qt 6.10.0, so I assume it is fixed
there. Still worth working around in 6.9.3 not to block gcc-16 testing
as there's still a while to go before 6.10.1 and unmasking.

Closes: https://bugs.gentoo.org/964252
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens 2025-10-23 10:42:48 -04:00
parent 3ce721cf7e
commit 364aba6590
No known key found for this signature in database
GPG Key ID: B24406B0B0AC4334

View File

@ -4,7 +4,7 @@
EAPI=8
QT6_HAS_STATIC_LIBS=1
inherit qt6-build
inherit flag-o-matic qt6-build toolchain-funcs
DESCRIPTION="Qt module and API for defining 3D content in Qt QuickTools"
@ -46,6 +46,9 @@ PATCHES=(
)
src_configure() {
tc-is-gcc && [[ $(gcc-major-version) -ge 16 ]] &&
append-cxxflags -fno-devirtualize-speculatively #964252
local mycmakeargs=(
# TODO: if someone wants it, openxr should likely have its own
# USE and be packaged rather than use the bundled copy (if use