commit:     4f6255edc782dab82666b02f9cf16c85c136e4df
Author:     Marco Sirabella <marco <AT> sirabella <DOT> org>
AuthorDate: Fri Apr 23 02:53:31 2021 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Fri Apr 23 02:57:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f6255ed

sys-process/nq: pass down CC from toolchain-funcs

Thanks to @ionen & @DarthGandalf for help clarifying some questions
around this

Signed-off-by: Marco Sirabella <marco <AT> sirabella.org>

 sys-process/nq/nq-0.4.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-process/nq/nq-0.4.ebuild b/sys-process/nq/nq-0.4.ebuild
index 380bc4da9..96d514d56 100644
--- a/sys-process/nq/nq-0.4.ebuild
+++ b/sys-process/nq/nq-0.4.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+inherit toolchain-funcs
+
 DESCRIPTION="Unix command line queue utility"
 HOMEPAGE="https://git.vuxu.org/nq/about/";
 SRC_URI="https://git.vuxu.org/${PN}/snapshot/${P}.tar.gz";
@@ -29,7 +31,7 @@ src_compile() {
                cp nq.sh nq
                cp fq.sh fq
        fi
-       emake CFLAGS="${CFLAGS} -Wno-unused-result"
+       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wno-unused-result"
 }
 
 src_install() {

Reply via email to