1 |
On 06/07/2020 10:48, Xianwen Chen (陈贤文) wrote: |
2 |
> Thank you, Michael and James. |
3 |
> |
4 |
> Yes, I plan to submit a nice patch to the Makefile to upstream. |
5 |
> |
6 |
> However, I think something is not right on my computer. |
7 |
> |
8 |
> I have earlier tried to specify |
9 |
> |
10 |
> emake CC="$(tc-getCXX)" prefix="${EPREFIX}/usr" DESTDIR="${D}" |
11 |
> |
12 |
> |
13 |
> Somehow, emerge does not know what $(tc-getCXX) is. |
14 |
> [...] |
15 |
> |
16 |
> Below is the content of the ebuild: |
17 |
> |
18 |
> ############################################################### |
19 |
> |
20 |
> # Copyright 1999-2020 Gentoo Authors |
21 |
> # Distributed under the terms of the GNU General Public License v2 |
22 |
> |
23 |
> EAPI=7 |
24 |
> |
25 |
> RESTRICT="splitdebug" |
26 |
> |
27 |
> sosicon_git_commit="655c75a4de75dbd4998ced6473aea255fed2492c" |
28 |
> [...] |
29 |
|
30 |
The ebuild is missing an "inherit" line below the "EAPI" one that |
31 |
specifies "toolchain-funcs" (which is the eclass that provides the |
32 |
"tc-*" functions. Try |
33 |
|
34 |
EAPI=7 |
35 |
inherit toolchain-funcs |