commit:     535721eea4211cae47345ba545aa6bc08a22437d
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon May 31 15:02:18 2021 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon May 31 15:24:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=535721ee

dev-util/uftrace: fix calling of gcc directly

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 dev-util/uftrace/uftrace-0.10.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/uftrace/uftrace-0.10.ebuild 
b/dev-util/uftrace/uftrace-0.10.ebuild
index 48c35a456db..92c30228011 100644
--- a/dev-util/uftrace/uftrace-0.10.ebuild
+++ b/dev-util/uftrace/uftrace-0.10.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 LUA_COMPAT=( luajit )
 
-inherit bash-completion-r1 lua-single
+inherit bash-completion-r1 lua-single toolchain-funcs
 
 DESCRIPTION="Function (graph) tracer for user-space"
 HOMEPAGE="https://github.com/namhyung/uftrace";
@@ -48,7 +48,7 @@ src_configure() {
                        --without-libluajit
                )
        fi
-       econf "${myconf[@]}"
+       CC=$(tc-getCC) LD=$(tc-getLD) econf "${myconf[@]}"
 }
 
 src_compile() {

Reply via email to