From 4f6255edc782dab82666b02f9cf16c85c136e4df Mon Sep 17 00:00:00 2001 From: Marco Sirabella Date: Thu, 22 Apr 2021 19:53:31 -0700 Subject: [PATCH] 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 --- 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 380bc4da9b..96d514d563 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() {