sys-devel/sparse: skip llvm detection for USE=-llvm, bug #715376

Patch by Jeroen Roovers.

Reported-and-Fixed-by: Jeroen Roovers
Closes: https://bugs.gentoo.org/715376
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Sergei Trofimovich
2020-04-01 08:30:34 +01:00
parent cc29bfcbac
commit c2c65397e5
2 changed files with 8 additions and 0 deletions

View File

@@ -31,6 +31,10 @@ DEPEND="${RDEPEND}
gtk? ( virtual/pkgconfig )
xml? ( virtual/pkgconfig )"
pkg_setup() {
use llvm && llvm_pkg_setup
}
_emake() {
# Makefile does not allow for an easy override of flags.
# Collect them here and override default phases.

View File

@@ -31,6 +31,10 @@ DEPEND="${RDEPEND}
gtk? ( virtual/pkgconfig )
xml? ( virtual/pkgconfig )"
pkg_setup() {
use llvm && llvm_pkg_setup
}
_emake() {
# Makefile does not allow for an easy override of flags.
# Collect them here and override default phases.