dev-debug/lldb-mi: build against the LLVM slot matching lldb
With several LLVM slots installed CMake picked the newest LLVM, whose headers do not match the installed lldb, and the build failed. Use llvm-r2 so LLVM and lldb come from the same slot. Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
1 parent
153949c984
commit
c86922613a
1 file changed
+7
-3
@@ -3,7 +3,9 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
LLVM_COMPAT=( {19..22} )
|
||||
|
||||
inherit cmake llvm-r2
|
||||
|
||||
DESCRIPTION="LLDB Machine Interface Driver"
|
||||
HOMEPAGE="https://github.com/lldb-tools/lldb-mi"
|
||||
@@ -16,8 +18,10 @@ SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
llvm-core/llvm:=
|
||||
llvm-core/lldb
|
||||
$(llvm_gen_dep '
|
||||
=llvm-core/lldb-${LLVM_SLOT}*:=
|
||||
llvm-core/llvm:${LLVM_SLOT}=
|
||||
')
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
Reference in new issue
Block a user