commit:     5a9e47d8d7d7b1ad200fccc17ca816bbdb788922
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Tue Apr 27 09:25:56 2021 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Tue Apr 27 09:25:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5a9e47d8

sys-apps/0xFFFF: Set CC.

The Makefile uses $CC and initializes it with `cc`.

Closes: https://bugs.gentoo.org/785157
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>

 sys-apps/0xFFFF/0xFFFF-0.8.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sys-apps/0xFFFF/0xFFFF-0.8.ebuild 
b/sys-apps/0xFFFF/0xFFFF-0.8.ebuild
index 5c3f0ac56..ea9c8a543 100644
--- a/sys-apps/0xFFFF/0xFFFF-0.8.ebuild
+++ b/sys-apps/0xFFFF/0xFFFF-0.8.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+inherit toolchain-funcs
+
 DESCRIPTION="The 0pen Free Fiasco Firmware Flasher"
 HOMEPAGE="https://github.com/pali/0xFFFF/";
 SRC_URI="https://github.com/pali/${PN}/releases/download/${PV}/${P}.tar.gz";
@@ -15,6 +17,11 @@ IUSE=""
 DEPEND="virtual/libusb:0"
 RDEPEND="${DEPEND}"
 
+src_compile() {
+       tc-export CC
+       default
+}
+
 src_install() {
        emake DESTDIR="${ED}" PREFIX="/usr" install
 }

Reply via email to