commit:     b8051ce978d14ad43b84011a89550a9e121018d4
Author:     Manoj Gupta <manojgupta <AT> google <DOT> com>
AuthorDate: Thu Jun 11 00:58:37 2020 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Jun 13 14:58:01 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8051ce9

app-shells/dash: Respect portage host cc variable

Pass CC_FOR_BUILD to econf. Otherwise it invokes gcc instead of portage
specified HOST/BUILD CC.

Signed-off-by: Manoj Gupta <manojgupta <AT> google.com>
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/16206

 app-shells/dash/dash-0.5.11.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-shells/dash/dash-0.5.11.ebuild 
b/app-shells/dash/dash-0.5.11.ebuild
index 1bd542ff827..9482c8379d5 100644
--- a/app-shells/dash/dash-0.5.11.ebuild
+++ b/app-shells/dash/dash-0.5.11.ebuild
@@ -43,6 +43,7 @@ src_configure() {
        use static && append-ldflags -static
        # Do not pass --enable-glob due to #443552.
        local myeconfargs=(
+               CC_FOR_BUILD="$(tc-getBUILD_CC)"
                --bindir="${EPREFIX}"/bin
                --enable-fnmatch
                $(use_with libedit)

Reply via email to