mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
media-libs/mesa: Fix panfrost cross compilation
panfrost requires a precomp-compiler during the build which will be built in dev-util/mesa_clc[video_cards_panfrost]. Signed-off-by: Janne Grunau <j@jannau.net> Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
@@ -159,7 +159,7 @@ DEPEND="${RDEPEND}
|
||||
"
|
||||
|
||||
CLC_DEPSTRING="
|
||||
~dev-util/mesa_clc-${PV}
|
||||
~dev-util/mesa_clc-${PV}[video_cards_panfrost?]
|
||||
llvm-core/libclc[spirv(-)]
|
||||
"
|
||||
BDEPEND="
|
||||
@@ -441,6 +441,10 @@ multilib_src_configure() {
|
||||
emesonargs+=(-Dmesa-clc=system)
|
||||
fi
|
||||
|
||||
if use video_cards_panfrost; then
|
||||
emesonargs+=(-Dprecomp-compiler=system)
|
||||
fi
|
||||
|
||||
use debug && EMESON_BUILDTYPE=debug
|
||||
|
||||
emesonargs+=(
|
||||
|
||||
Reference in New Issue
Block a user