dash: Respect portage host cc variable

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

Gentoo PR: https://github.com/gentoo/gentoo/pull/16179

BUG=chromium:979916, chromium:991812, chromium:1093606
TEST=CQ

Change-Id: I16d47e6cab4768cb91628635bed1b2478f5474b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/portage-stable/+/2238517
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/app-shells/dash/dash-0.5.9.1-r3.ebuild b/app-shells/dash/dash-0.5.9.1-r3.ebuild
index f46606e..bbd6253 100644
--- a/app-shells/dash/dash-0.5.9.1-r3.ebuild
+++ b/app-shells/dash/dash-0.5.9.1-r3.ebuild
@@ -60,6 +60,7 @@
 	# Autotools use $LINENO as a proxy for extended debug support
 	# (i.e. they're running bash), so disable that. #527644
 	local myeconfargs=(
+		CC_FOR_BUILD="$(tc-getBUILD_CC)"
 		--bindir="${EPREFIX}"/bin
 		--enable-fnmatch
 		--disable-lineno
diff --git a/app-shells/dash/dash-0.5.9.1-r6.ebuild b/app-shells/dash/dash-0.5.9.1-r7.ebuild
similarity index 100%
rename from app-shells/dash/dash-0.5.9.1-r6.ebuild
rename to app-shells/dash/dash-0.5.9.1-r7.ebuild