summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
}