sys-libs/compiler-rt: Obtain version from llvm-config
authorMichał Górny <mgorny@gentoo.org>
Sat, 14 Jan 2017 14:47:59 +0000 (15:47 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 14 Jan 2017 18:12:31 +0000 (19:12 +0100)
commite5b63fc32ca82454b18b8687cc08a723431a8c27
treea3c58663a9151b094528d6af9ea1be22d6018e8e
parenteb353cbfc1c15d198710cd7f27f63298e3b13e27
sys-libs/compiler-rt: Obtain version from llvm-config

Obtain the clang version that is used to build paths from llvm-config,
instead of hardcoding it in ebuild. This matches the method used in
upstream code (obtaining it from CMake files), and works both for
release and live ebuilds. It is fine to rely on llvm-config since we
need it for LLVM macros anyway.
sys-libs/compiler-rt/compiler-rt-9999.ebuild