commit:     58a738286839e5ec78f0015e47ca5413be94d35d
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  9 12:16:04 2022 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sat Jul  9 15:40:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58a73828

x11-plugins/wmgrabimage: respect CC

Closes: https://bugs.gentoo.org/726260
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild 
b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild
index b1d7ff43dabc..126ad0294ba9 100644
--- a/x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild
+++ b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit desktop
+inherit desktop toolchain-funcs
 
 MY_PN=${PN/grabi/GrabI}
 
@@ -39,7 +39,7 @@ src_prepare() {
 
 src_compile() {
        emake clean
-       emake CFLAGS="${CFLAGS} -Wall" SYSTEM="${LDFLAGS}"
+       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall" SYSTEM="${LDFLAGS}"
 }
 
 src_install() {

Reply via email to