From 788849af48eaee637b4ef9eac4d761f372124794 Mon Sep 17 00:00:00 2001 From: "Ronny (tastytea) Gutbrod" Date: Tue, 27 Apr 2021 15:13:31 +0200 Subject: [PATCH] net-im/srain: Set CC. The Makefile uses $CC, which is initialized with `cc`. Closes: https://bugs.gentoo.org/785187 Signed-off-by: Ronny (tastytea) Gutbrod --- net-im/srain/srain-1.1.1.ebuild | 7 ++++++- net-im/srain/srain-1.1.3.ebuild | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/net-im/srain/srain-1.1.1.ebuild b/net-im/srain/srain-1.1.1.ebuild index 95d44d08f7..eb3b3c4643 100644 --- a/net-im/srain/srain-1.1.1.ebuild +++ b/net-im/srain/srain-1.1.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit xdg +inherit toolchain-funcs xdg DESCRIPTION="Modern, beautiful IRC client written in GTK+ 3" HOMEPAGE="https://github.com/SrainApp/srain" @@ -28,3 +28,8 @@ DEPEND=" src_configure() { econf $(use_enable debug) } + +src_compile() { + tc-export CC + default +} diff --git a/net-im/srain/srain-1.1.3.ebuild b/net-im/srain/srain-1.1.3.ebuild index 95d44d08f7..eb3b3c4643 100644 --- a/net-im/srain/srain-1.1.3.ebuild +++ b/net-im/srain/srain-1.1.3.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit xdg +inherit toolchain-funcs xdg DESCRIPTION="Modern, beautiful IRC client written in GTK+ 3" HOMEPAGE="https://github.com/SrainApp/srain" @@ -28,3 +28,8 @@ DEPEND=" src_configure() { econf $(use_enable debug) } + +src_compile() { + tc-export CC + default +}