mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user