sys-apps/likwid: respect CC

Package-Manager: portage-2.2.28
This commit is contained in:
Göktürk Yüksek
2016-11-02 11:52:34 -04:00
parent 08940377e3
commit 4b144e2682

View File

@@ -6,7 +6,7 @@ EAPI=6
FORTRAN_NEEDED=fortran
inherit fcaps linux-info fortran-2
inherit fcaps linux-info toolchain-funcs fortran-2
DESCRIPTION="A performance-oriented tool suite for x86 multicore environments"
HOMEPAGE="https://github.com/rrze-likwid/likwid"
@@ -78,6 +78,10 @@ src_prepare() {
|| die "Failed to set GCC flags for fortran"
fi
# Respect CC
sed -e "s:^CC.*:CC = $(tc-getCC):" \
-i make/include_GCC.mk || die
default
}