diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-04-01 08:30:34 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-04-01 08:30:34 +0100 |
commit | c2c65397e5216438e57834a908c09c629bbacfa0 (patch) | |
tree | 7320134f8fe8db216d60c10e29cd63458f7888be /sys-devel/sparse/sparse-0.6.1.ebuild | |
parent | sys-devel/gcc: 9.3.0: cut 2 patchset (diff) | |
download | gentoo-c2c65397e5216438e57834a908c09c629bbacfa0.tar.gz gentoo-c2c65397e5216438e57834a908c09c629bbacfa0.tar.bz2 gentoo-c2c65397e5216438e57834a908c09c629bbacfa0.zip |
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>
Diffstat (limited to 'sys-devel/sparse/sparse-0.6.1.ebuild')
-rw-r--r-- | sys-devel/sparse/sparse-0.6.1.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-devel/sparse/sparse-0.6.1.ebuild b/sys-devel/sparse/sparse-0.6.1.ebuild index ca577f5defa0..d058d2c9ea40 100644 --- a/sys-devel/sparse/sparse-0.6.1.ebuild +++ b/sys-devel/sparse/sparse-0.6.1.ebuild @@ -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. |