commit: 729ef70813e39c0f9b325545fe5a0a274e417c32
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 15 11:52:45 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 14:30:55 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=729ef708
sys-devel/clang: Remove unnecessary LLVM_LIBDIR_SUFFIX
Remove LLVM_LIBDIR_SUFFIX as CMake path is now obtained from
llvm-config, and LLVM_LIBDIR_SUFFIX is subsequently obtained from
LLVMConfig.cmake.
sys-devel/clang/clang-9999.ebuild | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys-devel/clang/clang-9999.ebuild
b/sys-devel/clang/clang-9999.ebuild
index 9e4abc9..3dfce9b 100644
--- a/sys-devel/clang/clang-9999.ebuild
+++ b/sys-devel/clang/clang-9999.ebuild
@@ -133,9 +133,7 @@ src_prepare() {
multilib_src_configure() {
local llvm_version=$(llvm-config --version) || die
local clang_version=$(get_version_component_range 1-3 "${llvm_version}")
- local libdir=$(get_libdir)
local mycmakeargs=(
- -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
# ensure that the correct llvm-config is used
-DLLVM_CONFIG="${EPREFIX}/usr/bin/${CHOST}-llvm-config"
# relative to bindir