commit:     12abfe9e49c4d244e9d4e237f1329356880e1bdf
Author:     Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
AuthorDate: Thu May 13 18:26:24 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 14 00:22:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12abfe9e

mail-client/neomutt: Do not call `cc`

Closes: https://bugs.gentoo.org/724716
Closes: https://github.com/gentoo/gentoo/pull/20796
Signed-off-by: Nicolas Bock <nicolasbock <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-client/neomutt/neomutt-20210205-r1.ebuild | 4 +++-
 mail-client/neomutt/neomutt-99999999.ebuild    | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/mail-client/neomutt/neomutt-20210205-r1.ebuild 
b/mail-client/neomutt/neomutt-20210205-r1.ebuild
index 3c05cf9fd23..e8395c25d1e 100644
--- a/mail-client/neomutt/neomutt-20210205-r1.ebuild
+++ b/mail-client/neomutt/neomutt-20210205-r1.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+inherit toolchain-funcs
+
 if [[ ${PV} =~ 99999999$ ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/neomutt/neomutt.git";
@@ -106,7 +108,7 @@ src_configure() {
                "$(usex test --testing --disable-testing)"
        )
 
-       econf CCACHE=none "${myconf[@]}"
+       econf CCACHE=none CC_FOR_BUILD=$(tc-getCC) "${myconf[@]}"
 }
 
 src_test() {

diff --git a/mail-client/neomutt/neomutt-99999999.ebuild 
b/mail-client/neomutt/neomutt-99999999.ebuild
index ac3c11deb6f..2731fc6fe9f 100644
--- a/mail-client/neomutt/neomutt-99999999.ebuild
+++ b/mail-client/neomutt/neomutt-99999999.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+inherit toolchain-funcs
+
 if [[ ${PV} =~ 99999999$ ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/neomutt/neomutt.git";
@@ -102,7 +104,7 @@ src_configure() {
                "$(usex test --testing --disable-testing)"
        )
 
-       econf CCACHE=none "${myconf[@]}"
+       econf CCACHE=none CC_FOR_BUILD=$(tc-getCC) "${myconf[@]}"
 }
 
 src_test() {

Reply via email to