mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
sys-apps/likwid: respect CC
Package-Manager: portage-2.2.28
This commit is contained in:
@@ -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
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user