From 4b8f642d18473e970fd32b107ba024137c5b7fe8 Mon Sep 17 00:00:00 2001 From: Manoj Gupta Date: Tue, 9 Jun 2020 14:14:37 -0700 Subject: dev-libs/libgcrypt: Respect portage host cc variable Pass CC_FOR_BUILD to configure. Otherwise it invokes gcc instead of portage specified HOST/BUILD CC. Signed-off-by: Manoj Gupta Signed-off-by: Mike Gilbert Closes: https://github.com/gentoo/gentoo/pull/16151 --- dev-libs/libgcrypt/libgcrypt-1.8.5.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dev-libs/libgcrypt') diff --git a/dev-libs/libgcrypt/libgcrypt-1.8.5.ebuild b/dev-libs/libgcrypt/libgcrypt-1.8.5.ebuild index 025edcfa6b04..5fbc1de87647 100644 --- a/dev-libs/libgcrypt/libgcrypt-1.8.5.ebuild +++ b/dev-libs/libgcrypt/libgcrypt-1.8.5.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools flag-o-matic multilib-minimal +inherit autotools flag-o-matic multilib-minimal toolchain-funcs DESCRIPTION="General purpose crypto library based on the code used in GnuPG" HOMEPAGE="http://www.gnupg.org/" @@ -40,6 +40,7 @@ multilib_src_configure() { append-cflags -Wa,--divide fi local myeconfargs=( + CC_FOR_BUILD=$(tc-getBUILD_CC) --enable-noexecstack $(use_enable o-flag-munging O-flag-munging) $(use_enable static-libs static) -- cgit v1.2.3-65-gdbad