sys-block/blktrace: QA direct cc call

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Closes: https://bugs.gentoo.org/930357
This commit is contained in:
Robin H. Johnson
2024-04-21 08:09:11 -07:00
parent bbf6cba688
commit f2d465249b
+3 -2
View File
@@ -32,12 +32,13 @@ src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}"
if use doc; then
export VARTEXFONTS="${T}/fonts"
emake docs
emake docs CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}"
fi
}
src_install() {
emake install DESTDIR="${ED}" prefix="/usr" mandir="/usr/share/man"
# Do not remove the CC/FLAGS here; bug 930357
emake install DESTDIR="${ED}" prefix="/usr" mandir="/usr/share/man" CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}"
einstalldocs
use doc && dodoc doc/blktrace.pdf btt/doc/btt.pdf
}