1 |
commit: 4f6255edc782dab82666b02f9cf16c85c136e4df |
2 |
Author: Marco Sirabella <marco <AT> sirabella <DOT> org> |
3 |
AuthorDate: Fri Apr 23 02:53:31 2021 +0000 |
4 |
Commit: Marco Sirabella <marco <AT> sirabella <DOT> org> |
5 |
CommitDate: Fri Apr 23 02:57:15 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f6255ed |
7 |
|
8 |
sys-process/nq: pass down CC from toolchain-funcs |
9 |
|
10 |
Thanks to @ionen & @DarthGandalf for help clarifying some questions |
11 |
around this |
12 |
|
13 |
Signed-off-by: Marco Sirabella <marco <AT> sirabella.org> |
14 |
|
15 |
sys-process/nq/nq-0.4.ebuild | 4 +++- |
16 |
1 file changed, 3 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/sys-process/nq/nq-0.4.ebuild b/sys-process/nq/nq-0.4.ebuild |
19 |
index 380bc4da9..96d514d56 100644 |
20 |
--- a/sys-process/nq/nq-0.4.ebuild |
21 |
+++ b/sys-process/nq/nq-0.4.ebuild |
22 |
@@ -3,6 +3,8 @@ |
23 |
|
24 |
EAPI=7 |
25 |
|
26 |
+inherit toolchain-funcs |
27 |
+ |
28 |
DESCRIPTION="Unix command line queue utility" |
29 |
HOMEPAGE="https://git.vuxu.org/nq/about/" |
30 |
SRC_URI="https://git.vuxu.org/${PN}/snapshot/${P}.tar.gz" |
31 |
@@ -29,7 +31,7 @@ src_compile() { |
32 |
cp nq.sh nq |
33 |
cp fq.sh fq |
34 |
fi |
35 |
- emake CFLAGS="${CFLAGS} -Wno-unused-result" |
36 |
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wno-unused-result" |
37 |
} |
38 |
|
39 |
src_install() { |