summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoj Gupta <manojgupta@google.com>2020-06-10 17:58:37 -0700
committerMike Gilbert <floppym@gentoo.org>2020-06-13 10:58:01 -0400
commitb8051ce978d14ad43b84011a89550a9e121018d4 (patch)
treea32f3925f6027d70de51415c5d1a90c23ceb200f /app-shells
parentdev-lang/yasm: Respect portage host cc variable (diff)
downloadgentoo-b8051ce978d14ad43b84011a89550a9e121018d4.tar.gz
gentoo-b8051ce978d14ad43b84011a89550a9e121018d4.tar.bz2
gentoo-b8051ce978d14ad43b84011a89550a9e121018d4.zip
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@google.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/16206
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/dash/dash-0.5.11.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/app-shells/dash/dash-0.5.11.ebuild b/app-shells/dash/dash-0.5.11.ebuild
index 1bd542ff8270..9482c8379d58 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)