dev-libs/opencl-clang: depend on sys-devel/clang[static-analyzer]
authorMarek Szuba <marecki@gentoo.org>
Wed, 3 Jul 2019 11:28:51 +0000 (12:28 +0100)
committerMarek Szuba <marecki@gentoo.org>
Wed, 3 Jul 2019 13:43:26 +0000 (14:43 +0100)
Turns out that the absence of static-analyzer among sys-devel/clang USE
flags causes build-time linker errors. The flag in question is enabled by
default so only a subset of users has been affected.

Closes: https://bugs.gentoo.org/689170
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

dev-libs/opencl-clang/opencl-clang-8.0.0.ebuild

index 119d5523a020cc438e54938afd4fc19646b10a5d..ac93a0e876bab53307964de4ed9998e61ae70c1e 100644 (file)
@@ -13,7 +13,7 @@ LICENSE="UoI-NCSA"
 SLOT="8"
 KEYWORDS="~amd64"
 
-COMMON="sys-devel/clang:8=[${MULTILIB_USEDEP}]"
+COMMON="sys-devel/clang:8=[static-analyzer,${MULTILIB_USEDEP}]"
 DEPEND="${COMMON}
        dev-util/spirv-llvm-translator:8=[${MULTILIB_USEDEP}]
        dev-vcs/git"