diff options
-rw-r--r-- | sys-devel/sparse/sparse-0.6.1.ebuild | 4 | ||||
-rw-r--r-- | sys-devel/sparse/sparse-9999.ebuild | 4 |
2 files changed, 8 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. diff --git a/sys-devel/sparse/sparse-9999.ebuild b/sys-devel/sparse/sparse-9999.ebuild index ca577f5defa0..d058d2c9ea40 100644 --- a/sys-devel/sparse/sparse-9999.ebuild +++ b/sys-devel/sparse/sparse-9999.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. |