commit:     381a61e96cee1d3938135860de10cbb80261854d
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  3 21:03:49 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Mar  3 21:04:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=381a61e9

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 <AT> gentoo.org>

 app-benchmarks/iozone/iozone-3.488.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/app-benchmarks/iozone/iozone-3.488.ebuild 
b/app-benchmarks/iozone/iozone-3.488.ebuild
index 1c3a9c54bdb..fdcafba5631 100644
--- a/app-benchmarks/iozone/iozone-3.488.ebuild
+++ b/app-benchmarks/iozone/iozone-3.488.ebuild
@@ -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() {

Reply via email to