sys-devel/clang: Remove unnecessary LLVM_LIBDIR_SUFFIX
authorMichał Górny <mgorny@gentoo.org>
Sun, 15 Jan 2017 11:52:45 +0000 (12:52 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 15 Jan 2017 14:30:55 +0000 (15:30 +0100)
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

index 9e4abc9388ec213d3483c483e8b6d17c1b519ed4..3dfce9b7a44aae84c4d2ca135b1ed894e1b88092 100644 (file)
@@ -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