commit:     04bff2dfd6fb44e9b922bceabfdb08c1dc60bd04
Author:     Seth Arnold <Dotz0cat <AT> gmail <DOT> com>
AuthorDate: Mon Apr 18 22:26:10 2022 +0000
Commit:     Seth Arnold <Dotz0cat <AT> gmail <DOT> com>
CommitDate: Mon Apr 18 22:29:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=04bff2df

app-misc/walld: fixed calling cc directly

Signed-off-by: Seth Arnold <Dotz0cat <AT> gmail.com>

 app-misc/walld/walld-1.2.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app-misc/walld/walld-1.2.ebuild b/app-misc/walld/walld-1.2.ebuild
index 462dd9c1f..861b83f09 100644
--- a/app-misc/walld/walld-1.2.ebuild
+++ b/app-misc/walld/walld-1.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit optfeature
+inherit optfeature toolchain-funcs
 
 DESCRIPTION="A Wallpaper daemon"
 HOMEPAGE="https://github.com/Dotz0cat/walld";
@@ -17,6 +17,10 @@ DEPEND="dev-libs/libevent media-gfx/feh dev-libs/libconfig 
media-gfx/imagemagick
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 
+src_compile() {
+       emake CC="${tc-getCC}"
+}
+
 src_install() {
        emake DESTDIR="${D}" PREFIX=/usr install
 }

Reply via email to