app-benchmarks/iozone: set GCC variable to CC

Reported-by: Sam James
Closes: https://bugs.gentoo.org/764269
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Sergei Trofimovich 2021-03-03 21:03:49 +00:00
parent e5875eb89d
commit 381a61e96c
No known key found for this signature in database
GPG Key ID: ED5E45E06F2AC293
1 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,10 @@ src_configure() {
s390) PLATFORM="linux-S390";;
*) PLATFORM="linux-${ARCH}";;
esac
# makefile uses $(GCC) in a few places, probably
# by mistake.
export GCC=$(tc-getCC)
}
src_compile() {