summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel')
-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 50c0f84491f..8a98acf677e 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}"