On 06/07/2020 10:48, Xianwen Chen (陈贤文) wrote:
Thank you, Michael and James.

Yes, I plan to submit a nice patch to the Makefile to upstream.

However, I think something is not right on my computer.

I have earlier tried to specify

   emake CC="$(tc-getCXX)" prefix="${EPREFIX}/usr" DESTDIR="${D}"


Somehow, emerge does not know what $(tc-getCXX) is.
[...]

Below is the content of the ebuild:

###############################################################

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

RESTRICT="splitdebug"

sosicon_git_commit="655c75a4de75dbd4998ced6473aea255fed2492c"
[...]

The ebuild is missing an "inherit" line below the "EAPI" one that specifies "toolchain-funcs" (which is the eclass that provides the "tc-*" functions. Try

  EAPI=7
  inherit toolchain-funcs


Reply via email to