commit:     185098c7a665b68d50e2873b93f1c051d9b105a3
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun May 24 22:17:28 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun May 24 22:17:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=185098c7

sys-block/blktrace: avoid 'gcc' call in 'make install'

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 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 68ca8627f8c..099c1255bad 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
 }

Reply via email to