summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2021-05-31 17:02:18 +0200
committerGuilherme Amadio <amadio@gentoo.org>2021-05-31 17:24:18 +0200
commit535721eea4211cae47345ba545aa6bc08a22437d (patch)
treee182d3ca004f6d5657c281f16a3ef7cebd67d471
parentdev-util/uftrace: drop old (diff)
downloadgentoo-535721eea4211cae47345ba545aa6bc08a22437d.tar.gz
gentoo-535721eea4211cae47345ba545aa6bc08a22437d.tar.bz2
gentoo-535721eea4211cae47345ba545aa6bc08a22437d.zip
dev-util/uftrace: fix calling of gcc directly
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
-rw-r--r--dev-util/uftrace/uftrace-0.10.ebuild4
1 files 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() {