diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-29 20:56:02 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-29 20:56:02 +0000 |
commit | 40a4dd47c275aca60d7381a93635d31b8d09451a (patch) | |
tree | a1e62b25ccb28b5754aac10d175ed75ddb4537b1 /sys-devel/lld/lld-16.0.0.9999.ebuild | |
parent | 4c51ef39a9b443061a7071e002d7daa2a4d16141 (diff) |
gentoo auto-resync : 29:01:2023 - 20:56:01
Diffstat (limited to 'sys-devel/lld/lld-16.0.0.9999.ebuild')
-rw-r--r-- | sys-devel/lld/lld-16.0.0.9999.ebuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sys-devel/lld/lld-16.0.0.9999.ebuild b/sys-devel/lld/lld-16.0.0.9999.ebuild index c23949899ce7..d22c1fb13951 100644 --- a/sys-devel/lld/lld-16.0.0.9999.ebuild +++ b/sys-devel/lld/lld-16.0.0.9999.ebuild @@ -25,6 +25,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}]") @@ -76,13 +77,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 } |