mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
dev-qt/qttools: fix clang selection for >=6.9
Qt added new logic for clang selection where it iterates through a list of supported version and always picks the most recent one from that list ignoring the eclass. May be a better way, but for now just remove the version check. Does not seem to have been backported to 6.8, so leaving that one alone. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -62,6 +62,13 @@ DEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
qt6-build_src_prepare
|
||||
|
||||
# qttools is picky about clang versions and ignores LLVM_SLOT
|
||||
sed -i '/find_package/s/${VERSION}//' cmake/FindWrapLibClang.cmake || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use clang && llvm_chost_setup
|
||||
|
||||
|
||||
@@ -62,6 +62,13 @@ DEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
qt6-build_src_prepare
|
||||
|
||||
# qttools is picky about clang versions and ignores LLVM_SLOT
|
||||
sed -i '/find_package/s/${VERSION}//' cmake/FindWrapLibClang.cmake || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use clang && llvm_chost_setup
|
||||
|
||||
|
||||
Reference in New Issue
Block a user