summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-05-24 23:17:28 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-05-24 23:17:28 +0100
commit185098c7a665b68d50e2873b93f1c051d9b105a3 (patch)
tree347662718dea6f362d15c364eed26a0c328bec42 /sys-block/blktrace
parentdev-lang/nim: use $CC instead of 'gcc', bug #722958 (diff)
downloadgentoo-185098c7a665b68d50e2873b93f1c051d9b105a3.tar.gz
gentoo-185098c7a665b68d50e2873b93f1c051d9b105a3.tar.bz2
gentoo-185098c7a665b68d50e2873b93f1c051d9b105a3.zip
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@gentoo.org>
Diffstat (limited to 'sys-block/blktrace')
-rw-r--r--sys-block/blktrace/blktrace-1.2.0.ebuild4
1 files 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
}