commit:     a678f8cf6ac5b9b512937a78c2b4f77a124ee86a
Author:     Oz Tiram <oz.tiram <AT> gmail <DOT> com>
AuthorDate: Thu Dec  5 14:08:20 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Dec  5 14:09:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a678f8cf

dev-util/mh: inherit from toolchain-funcs

Closes: https://bugs.gentoo.org/945901
Signed-off-by: Oz Tiram <oz.tiram <AT> gmail.com>

 dev-util/mh/mh-1.4.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-util/mh/mh-1.4.1.ebuild b/dev-util/mh/mh-1.4.1.ebuild
index d3d830e8f..e42f86af5 100644
--- a/dev-util/mh/mh-1.4.1.ebuild
+++ b/dev-util/mh/mh-1.4.1.ebuild
@@ -11,6 +11,8 @@ LICENSE="BSD"
 SLOT=0
 KEYWORDS="~amd64"
 
+inherit toolchain-funcs
+
 IUSE="test"
 
 RESTRICT="!test? ( test )"
@@ -23,7 +25,7 @@ DEPEND="
 "
 
 src_compile() {
-       emake mh VERSION="${PV}"
+       emake mh VERSION="${PV}" CC="$(tc-getCC)"
 }
 
 src_install() {

Reply via email to