summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-01-15 15:01:44 +0100
committerMichał Górny <mgorny@gentoo.org>2017-01-15 15:30:58 +0100
commit8d7c28774fb8ebe3d6568232be7fe6e8dbf2a4f7 (patch)
tree984a6e0971561acbcc0a15df854d1ad0343e78c7 /sys-libs
parentsys-libs/compiler-rt: Remove unnecessary LLVM_LIBDIR_SUFFIX (diff)
downloadgentoo-8d7c28774fb8ebe3d6568232be7fe6e8dbf2a4f7.tar.gz
gentoo-8d7c28774fb8ebe3d6568232be7fe6e8dbf2a4f7.tar.bz2
gentoo-8d7c28774fb8ebe3d6568232be7fe6e8dbf2a4f7.zip
sys-libs/compiler-rt-sanitizers: Remove unnecessary LLVM_LIBDIR_SUFFIX
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild
index c933e5339044..212aa4b67ee2 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild
@@ -23,8 +23,9 @@ KEYWORDS=""
IUSE="test"
RDEPEND="!<sys-devel/llvm-${PV}"
+# llvm-4 needed for --cmakedir
DEPEND="${RDEPEND}
- ~sys-devel/llvm-${PV}
+ >=sys-devel/llvm-4
test? (
app-portage/unsandbox
$(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
@@ -60,8 +61,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