dev-qt/qtshadertools: filter-lto in >=6.11 due to ODR violations

Closes: https://bugs.gentoo.org/972694
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-04-14 18:59:21 -04:00
parent c5cf3799dc
commit 22f7cf575b
3 changed files with 26 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
EAPI=8
inherit qt6-build
inherit flag-o-matic qt6-build
DESCRIPTION="Qt APIs and Tools for Graphics Pipelines"
@@ -15,3 +15,10 @@ RDEPEND="
~dev-qt/qtbase-${PV}:6[gui]
"
DEPEND="${RDEPEND}"
src_configure() {
# -Werror=odr violations between mismatching spirv.hpp (bug #972694)
filter-lto
qt6-build_src_configure
}

View File

@@ -1,9 +1,9 @@
# Copyright 2021-2025 Gentoo Authors
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
inherit flag-o-matic qt6-build
DESCRIPTION="Qt APIs and Tools for Graphics Pipelines"
@@ -15,3 +15,10 @@ RDEPEND="
~dev-qt/qtbase-${PV}:6[gui]
"
DEPEND="${RDEPEND}"
src_configure() {
# -Werror=odr violations between mismatching spirv.hpp (bug #972694)
filter-lto
qt6-build_src_configure
}

View File

@@ -1,9 +1,9 @@
# Copyright 2021-2025 Gentoo Authors
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
inherit flag-o-matic qt6-build
DESCRIPTION="Qt APIs and Tools for Graphics Pipelines"
@@ -15,3 +15,10 @@ RDEPEND="
~dev-qt/qtbase-${PV}:6[gui]
"
DEPEND="${RDEPEND}"
src_configure() {
# -Werror=odr violations between mismatching spirv.hpp (bug #972694)
filter-lto
qt6-build_src_configure
}