commit: 4b8f642d18473e970fd32b107ba024137c5b7fe8 Author: Manoj Gupta <manojgupta <AT> google <DOT> com> AuthorDate: Tue Jun 9 21:14:37 2020 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Sun Jun 14 16:07:48 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b8f642d
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 <AT> google.com> Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/16151 dev-libs/libgcrypt/libgcrypt-1.8.5.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-libs/libgcrypt/libgcrypt-1.8.5.ebuild b/dev-libs/libgcrypt/libgcrypt-1.8.5.ebuild index 025edcfa6b0..5fbc1de8764 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)
