commit:     3537c63f2c5fd1ecca3fe14213865a67087661bd
Author:     Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
AuthorDate: Fri Apr 23 16:32:04 2021 +0000
Commit:     Zamarin Arthur <arthurzam+gentoo <AT> gmail <DOT> com>
CommitDate: Fri Apr 23 16:32:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3537c63f

sys-process/iotop-c: fix CC and PKG_CONFIG calls

Closes: https://bugs.gentoo.org/785148
Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>

 sys-process/iotop-c/iotop-c-1.17-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-process/iotop-c/iotop-c-1.17-r1.ebuild 
b/sys-process/iotop-c/iotop-c-1.17-r1.ebuild
index ad5cd74c1..d778526f6 100644
--- a/sys-process/iotop-c/iotop-c-1.17-r1.ebuild
+++ b/sys-process/iotop-c/iotop-c-1.17-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit fcaps linux-info
+inherit fcaps linux-info toolchain-funcs
 
 DESCRIPTION="top utility for IO (C port)"
 HOMEPAGE="https://github.com/Tomas-M/iotop";
@@ -27,7 +27,7 @@ FILECAPS=(
 )
 
 src_compile() {
-       emake V=1
+       emake V=1 CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
 }
 
 src_install() {

Reply via email to