From b1c251791d70d60a088d2e520c1ffbe1f9b0f3fa Mon Sep 17 00:00:00 2001 From: Huang Rui Date: Fri, 9 Aug 2024 13:00:56 +0800 Subject: [PATCH] sci-electronics/vcd: don't call CC directly Bug: https://bugs.gentoo.org/243502 Signed-off-by: Huang Rui --- sci-electronics/vcd/vcd-221217.ebuild | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/sci-electronics/vcd/vcd-221217.ebuild b/sci-electronics/vcd/vcd-221217.ebuild index 2191096a8e..3aeb461af2 100644 --- a/sci-electronics/vcd/vcd-221217.ebuild +++ b/sci-electronics/vcd/vcd-221217.ebuild @@ -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 +}