commit: bc308c000d707403d8801c77b20dc931902018a2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 15 14:00:25 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 14:30:58 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc308c00
sys-libs/compiler-rt: Remove unnecessary LLVM_LIBDIR_SUFFIX
sys-libs/compiler-rt/compiler-rt-9999.ebuild | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/sys-libs/compiler-rt/compiler-rt-9999.ebuild
b/sys-libs/compiler-rt/compiler-rt-9999.ebuild
index fd1f907..4f6d080 100644
--- a/sys-libs/compiler-rt/compiler-rt-9999.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-9999.ebuild
@@ -24,9 +24,10 @@ KEYWORDS=""
IUSE="test"
RDEPEND="
- !<sys-devel/llvm-4.0"
+ !<sys-devel/llvm-4"
+# llvm-4 needed for --cmakedir
DEPEND="${RDEPEND}
- ~sys-devel/llvm-${PV}
+ >=sys-devel/llvm-4
test? ( ~sys-devel/clang-${PV} )
${PYTHON_DEPS}"
@@ -54,8 +55,6 @@ src_configure() {
local clang_version=$(get_version_component_range 1-3 "${llvm_version}")
local libdir=$(get_libdir)
local mycmakeargs=(
- # used to find cmake modules
- -DLLVM_LIBDIR_SUFFIX="${libdir#lib}"
-DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${clang_version}"
# use a build dir structure consistent with install
# this makes it possible to easily deploy test-friendly clang