summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGöktürk Yüksek <gokturk@gentoo.org>2016-11-02 11:52:34 -0400
committerGöktürk Yüksek <gokturk@gentoo.org>2016-11-02 12:08:52 -0400
commit4b144e2682d22cd7a826eaee527b0b3e0725c064 (patch)
tree6970875f8d82813f3bb5b59785cd255e2dfc5e8a /sys-apps/likwid
parentsys-apps/likwid: version bump to 4.1.2 (diff)
downloadgentoo-4b144e2682d22cd7a826eaee527b0b3e0725c064.tar.gz
gentoo-4b144e2682d22cd7a826eaee527b0b3e0725c064.tar.bz2
gentoo-4b144e2682d22cd7a826eaee527b0b3e0725c064.zip
sys-apps/likwid: respect CC
Package-Manager: portage-2.2.28
Diffstat (limited to 'sys-apps/likwid')
-rw-r--r--sys-apps/likwid/likwid-4.1.2.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-apps/likwid/likwid-4.1.2.ebuild b/sys-apps/likwid/likwid-4.1.2.ebuild
index 65667771524b..a20b746b131f 100644
--- a/sys-apps/likwid/likwid-4.1.2.ebuild
+++ b/sys-apps/likwid/likwid-4.1.2.ebuild
@@ -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
}