1 |
commit: 15a842ccfb8e0fb2873e3bee654520eb7a76ce0b |
2 |
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 6 08:03:33 2020 +0000 |
4 |
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 6 08:25:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15a842cc |
7 |
|
8 |
dev-util/perf: run llvm_pkg_setup only with USE=clang, bug #720376 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/720376 |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org> |
13 |
|
14 |
dev-util/perf/perf-5.6.4.ebuild | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-util/perf/perf-5.6.4.ebuild b/dev-util/perf/perf-5.6.4.ebuild |
18 |
index 3f1d4e665d1..79a230faed3 100644 |
19 |
--- a/dev-util/perf/perf-5.6.4.ebuild |
20 |
+++ b/dev-util/perf/perf-5.6.4.ebuild |
21 |
@@ -76,7 +76,7 @@ S="${S_K}/tools/perf" |
22 |
CONFIG_CHECK="~PERF_EVENTS ~KALLSYMS" |
23 |
|
24 |
pkg_setup() { |
25 |
- LLVM_MAX_SLOT=9 llvm_pkg_setup |
26 |
+ use clang && LLVM_MAX_SLOT=9 llvm_pkg_setup |
27 |
} |
28 |
|
29 |
src_unpack() { |