From 15a842ccfb8e0fb2873e3bee654520eb7a76ce0b Mon Sep 17 00:00:00 2001 From: Guilherme Amadio Date: Wed, 6 May 2020 10:03:33 +0200 Subject: [PATCH] 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 --- 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 3f1d4e665d10..79a230faed36 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() { -- 2.26.2