Require LLVM 4.0 or newer for llvm-config to provide --cmakedir option.
This overrides the fallback CMake directory search done in libdir,
and therefore makes it possible to build the multilib runtime against
a single ABI variant of LLVM.
IUSE="debug +static-libs"
RDEPEND="!sys-libs/libunwind"
-# llvm-config and cmake files needed to get proper flags
-# (3.9.0 needed because cmake file install path changed)
-DEPEND=">=sys-devel/llvm-3.9.0[${MULTILIB_USEDEP}]"
+# LLVM 4 required for llvm-config --cmakedir
+DEPEND=">=sys-devel/llvm-4"
# least intrusive of all
CMAKE_BUILD_TYPE=RelWithDebInfo