diff options
Diffstat (limited to 'sys-devel/lld/lld-15.0.7.ebuild')
-rw-r--r-- | sys-devel/lld/lld-15.0.7.ebuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sys-devel/lld/lld-15.0.7.ebuild b/sys-devel/lld/lld-15.0.7.ebuild index 6156f9bae682..9f1faebcbbbf 100644 --- a/sys-devel/lld/lld-15.0.7.ebuild +++ b/sys-devel/lld/lld-15.0.7.ebuild @@ -24,6 +24,7 @@ RDEPEND=" !sys-devel/lld:0 " BDEPEND=" + sys-devel/llvm:${LLVM_MAJOR} test? ( >=dev-util/cmake-3.16 $(python_gen_any_dep ">=dev-python/lit-${PV}[\${PYTHON_USEDEP}]") @@ -77,13 +78,9 @@ src_configure() { -DPython3_EXECUTABLE="${PYTHON}" ) - if tc-is-cross-compiler; then - has_version -b sys-devel/llvm:${LLVM_MAJOR} || - die "sys-devel/llvm:${LLVM_MAJOR} is required on the build host." - mycmakeargs+=( - -DLLVM_TABLEGEN_EXE="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" - ) - fi + tc-is-cross-compiler && mycmakeargs+=( + -DLLVM_TABLEGEN_EXE="${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/bin/llvm-tblgen" + ) cmake_src_configure } |