summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-11-20 23:57:13 +0100
committerMichał Górny <mgorny@gentoo.org>2016-11-21 00:00:25 +0100
commita318823df21960f4e212ad4ffb2dea8b9c9f3253 (patch)
tree72bbda1c07c0505e8a0aec439918f6fd0b2b5d97 /sys-devel/clang
parentdev-libs/json-c: drop remaining vulnerable versions wrt security bug #507218 (diff)
downloadgentoo-a318823df21960f4e212ad4ffb2dea8b9c9f3253.tar.gz
gentoo-a318823df21960f4e212ad4ffb2dea8b9c9f3253.tar.bz2
gentoo-a318823df21960f4e212ad4ffb2dea8b9c9f3253.zip
sys-devel/clang: Enforce ${CHOST}-llvm-config for multilib
Diffstat (limited to 'sys-devel/clang')
-rw-r--r--sys-devel/clang/clang-9999.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild
index 50c0f84491f7..8a98acf677e8 100644
--- a/sys-devel/clang/clang-9999.ebuild
+++ b/sys-devel/clang/clang-9999.ebuild
@@ -132,6 +132,8 @@ multilib_src_configure() {
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
-DCLANG_RESOURCE_DIR="../lib/clang/${clang_version}"