dev-libs/libclc: Use llvm.eclass to obtain correct llvm-config path
authorMichał Górny <mgorny@gentoo.org>
Sat, 12 Aug 2017 21:17:26 +0000 (23:17 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 12 Aug 2017 21:21:31 +0000 (23:21 +0200)
commit0dba7297ff8329a32385468d55de263db58aa2fb
tree218630db4b508e9b0b515f4cc10856f777c13841
parent2b3c55005c9f091855e14b49e5f6e340ae2a949c
dev-libs/libclc: Use llvm.eclass to obtain correct llvm-config path

Use the newly-introduced llvm.eclass API to obtain the correct path
for the newest LLVM slot including clang, to fix the issue when
first-level 'clang' on PATH comes from a compiler wrapper such
as ccache.

Bug: https://bugs.gentoo.org/624034
dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild