commit:     4dde84689c6edcdf044a877cc80f52f6a287dc63
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  9 12:03:02 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=4dde8468

x11-plugins/wmcms: respect CC

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

 x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild 
b/x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild
index 70c2fcf3f058..af360d3fe27e 100644
--- a/x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild
+++ b/x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit toolchain-funcs
+
 DESCRIPTION="WindowMaker CPU and Memory Usage Monitor Dock App"
 HOMEPAGE="https://www.geocities.ws/neofpo/wmcms.html";
 SRC_URI="https://www.geocities.ws/neofpo/files/${P}.tar.gz";
@@ -27,7 +29,7 @@ src_prepare() {
 }
 
 src_compile() {
-       emake CFLAGS="${CFLAGS}"
+       emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)"
 }
 
 src_install() {

Reply via email to