sci-electronics/vcd: don't call CC directly

Bug: https://bugs.gentoo.org/243502
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui 2024-08-09 13:00:56 +08:00
parent d9143c79fc
commit b1c251791d
No known key found for this signature in database
GPG Key ID: AD4E34A8385E3E52

View File

@ -3,6 +3,8 @@
EAPI=8
inherit toolchain-funcs
DESCRIPTION="VCD file (Value Change Dump) command line viewer"
HOMEPAGE="https://github.com/yne/vcd"
@ -17,3 +19,14 @@ fi
LICENSE="MIT"
SLOT="0"
src_compile() {
# https://bugs.gentoo.org/243502
emake CC="$(tc-getCC)"
}
src_install() {
local DOCS=( README.md )
emake DESTDIR="${ED}"
einstalldocs
}