diff options
author | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2021-04-21 22:29:47 +0200 |
---|---|---|
committer | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2021-04-24 20:51:42 +0200 |
commit | 89308c6a370e07097d6d49e73b76a42027cf08e9 (patch) | |
tree | 6623703811a11a84ade5787b1da249172d54df0b /app-misc/cpufetch | |
parent | games-arcade/taisei: Turn off LTO by default. (diff) | |
download | guru-89308c6a370e07097d6d49e73b76a42027cf08e9.tar.gz guru-89308c6a370e07097d6d49e73b76a42027cf08e9.tar.bz2 guru-89308c6a370e07097d6d49e73b76a42027cf08e9.zip |
app-misc/cpufetch: use tcgetcc
Closes: https://bugs.gentoo.org/784827
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'app-misc/cpufetch')
-rw-r--r-- | app-misc/cpufetch/cpufetch-0.94_p20210409.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app-misc/cpufetch/cpufetch-0.94_p20210409.ebuild b/app-misc/cpufetch/cpufetch-0.94_p20210409.ebuild index a51f7908d..6f68bb6dd 100644 --- a/app-misc/cpufetch/cpufetch-0.94_p20210409.ebuild +++ b/app-misc/cpufetch/cpufetch-0.94_p20210409.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit toolchain-funcs + COMMIT="8f2f3d3a1652b87162f763a88a5070cf25c2e6d7" DESCRIPTION="Simplistic yet fancy CPU architecture fetching tool" HOMEPAGE="https://github.com/Dr-Noob/cpufetch" @@ -14,6 +16,11 @@ KEYWORDS="~amd64" PATCHES=( "${FILESDIR}/makefile-${PV}.patch" ) S="${WORKDIR}/${PN}-${COMMIT}" +src_prepare() { + default + export CC=$(tc-getCC) +} + src_install() { dobin "${PN}" doman "${PN}.8" |