From: Guilherme Amadio Date: Wed, 6 May 2020 08:03:33 +0000 (+0200) Subject: dev-util/perf: run llvm_pkg_setup only with USE=clang, bug #720376 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=15a842ccfb8e0fb2873e3bee654520eb7a76ce0b;p=gentoo.git 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 --- 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() {