commit:     f12cc86adbbe773bbfded87a4d61ae5262ec1092
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Fri Apr 23 18:39:50 2021 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Fri Apr 23 18:39:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f12cc86a

media-gfx/glimpse: Set compiler explicitly.

The AX_PROG_CC_FOR_BUILD macro doesn't detect tuple-prefixed compilers
automatically.

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

 media-gfx/glimpse/glimpse-0.2.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-gfx/glimpse/glimpse-0.2.0.ebuild 
b/media-gfx/glimpse/glimpse-0.2.0.ebuild
index ca55db498..b20d0e5ac 100644
--- a/media-gfx/glimpse/glimpse-0.2.0.ebuild
+++ b/media-gfx/glimpse/glimpse-0.2.0.ebuild
@@ -7,7 +7,7 @@ EAPI=7
 GNOME2_EAUTORECONF=yes
 WANT_AUTOMAKE=
 
-inherit autotools gnome2 virtualx
+inherit autotools gnome2 toolchain-funcs virtualx
 
 DESCRIPTION="Image editor based on the GNU Image Manipulation Program"
 HOMEPAGE="https://glimpse-editor.org/";
@@ -120,6 +120,7 @@ src_prepare() {
                -i configure || die # bug #615144
        fgrep -q GIMP_DISABLE_DEPRECATED configure || die # bug #615144, 
self-test
 
+       export CC_FOR_BUILD="$(tc-getBUILD_CC)"
 }
 
 _adjust_sandbox() {

Reply via email to