diff options
author | 2024-08-09 13:00:56 +0800 | |
---|---|---|
committer | 2024-08-09 13:01:49 +0800 | |
commit | b1c251791d70d60a088d2e520c1ffbe1f9b0f3fa (patch) | |
tree | 7093f08ea157827d82732bbe02ffa384cf425ebb /sci-electronics | |
parent | app-misc/ledger-live-bin: sync install location with QA_PREBUILT (diff) | |
download | guru-b1c251791d70d60a088d2e520c1ffbe1f9b0f3fa.tar.gz guru-b1c251791d70d60a088d2e520c1ffbe1f9b0f3fa.tar.bz2 guru-b1c251791d70d60a088d2e520c1ffbe1f9b0f3fa.zip |
sci-electronics/vcd: don't call CC directly
Bug: https://bugs.gentoo.org/243502
Signed-off-by: Huang Rui <vowstar@gmail.com>
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/vcd/vcd-221217.ebuild | 13 |
1 files changed, 13 insertions, 0 deletions
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 +} |