commit:     15a842ccfb8e0fb2873e3bee654520eb7a76ce0b
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed May  6 08:03:33 2020 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed May  6 08:25:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15a842cc

dev-util/perf: run llvm_pkg_setup only with USE=clang, bug #720376

Closes: https://bugs.gentoo.org/720376
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 dev-util/perf/perf-5.6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/perf/perf-5.6.4.ebuild b/dev-util/perf/perf-5.6.4.ebuild
index 3f1d4e665d1..79a230faed3 100644
--- a/dev-util/perf/perf-5.6.4.ebuild
+++ b/dev-util/perf/perf-5.6.4.ebuild
@@ -76,7 +76,7 @@ S="${S_K}/tools/perf"
 CONFIG_CHECK="~PERF_EVENTS ~KALLSYMS"
 
 pkg_setup() {
-       LLVM_MAX_SLOT=9 llvm_pkg_setup
+       use clang && LLVM_MAX_SLOT=9 llvm_pkg_setup
 }
 
 src_unpack() {

Reply via email to