summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoj Gupta <manojgupta@google.com>2020-06-09 14:14:37 -0700
committerMike Gilbert <floppym@gentoo.org>2020-06-14 12:07:48 -0400
commit4b8f642d18473e970fd32b107ba024137c5b7fe8 (patch)
tree804300e482921f3a86af8f1b6b7627741483453a /dev-libs/libgcrypt
parentapp-emulation/virtualbox: Revbump to not install dead symlink (diff)
downloadgentoo-4b8f642d18473e970fd32b107ba024137c5b7fe8.tar.gz
gentoo-4b8f642d18473e970fd32b107ba024137c5b7fe8.tar.bz2
gentoo-4b8f642d18473e970fd32b107ba024137c5b7fe8.zip
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 <manojgupta@google.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/16151
Diffstat (limited to 'dev-libs/libgcrypt')
-rw-r--r--dev-libs/libgcrypt/libgcrypt-1.8.5.ebuild3
1 files changed, 2 insertions, 1 deletions
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)