From 185098c7a665b68d50e2873b93f1c051d9b105a3 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 24 May 2020 23:17:28 +0100 Subject: [PATCH] sys-block/blktrace: avoid 'gcc' call in 'make install' Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich --- sys-block/blktrace/blktrace-1.2.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-block/blktrace/blktrace-1.2.0.ebuild b/sys-block/blktrace/blktrace-1.2.0.ebuild index 68ca8627f8c1..099c1255badb 100644 --- a/sys-block/blktrace/blktrace-1.2.0.ebuild +++ b/sys-block/blktrace/blktrace-1.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -47,7 +47,7 @@ src_compile() { } src_install() { - emake install DESTDIR="${ED}" prefix="/usr" mandir="/usr/share/man" + emake install CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}" DESTDIR="${ED}" prefix="/usr" mandir="/usr/share/man" einstalldocs use doc && dodoc doc/blktrace.pdf btt/doc/btt.pdf } -- 2.26.2