sys-libs/compiler-rt-sanitizers: Obtain version from llvm-config
authorMichał Górny <mgorny@gentoo.org>
Sat, 14 Jan 2017 14:51:21 +0000 (15:51 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 14 Jan 2017 18:12:33 +0000 (19:12 +0100)
commitc3db0f88fca16c72a0c8503260f6fdf9574cfc9f
tree43457557e64c256514ced29eceb8995c542d35cf
parente5b63fc32ca82454b18b8687cc08a723431a8c27
sys-libs/compiler-rt-sanitizers: 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-sanitizers/compiler-rt-sanitizers-9999.ebuild