commit:     fae32c23a5ad9e2d2ff0bee702a4dca3af4bf1a9
Author:     Manoj Gupta <manojgupta <AT> google <DOT> com>
AuthorDate: Tue Jun  9 21:26:17 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Jun 13 09:31:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fae32c23

sys-libs/pam: 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>
Closes: https://github.com/gentoo/gentoo/pull/16154
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 sys-libs/pam/pam-1.4.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-libs/pam/pam-1.4.0.ebuild b/sys-libs/pam/pam-1.4.0.ebuild
index 3583a5ca60a..78c55d58a02 100644
--- a/sys-libs/pam/pam-1.4.0.ebuild
+++ b/sys-libs/pam/pam-1.4.0.ebuild
@@ -53,6 +53,7 @@ multilib_src_configure() {
        export ac_cv_header_xcrypt_h=no
 
        local myconf=(
+               CC_FOR_BUILD="$(tc-getBUILD_CC)"
                --with-db-uniquename=-$(db_findver sys-libs/db)
                --with-xml-catalog="${EPREFIX}"/etc/xml/catalog
                --enable-securedir="${EPREFIX}"/$(get_libdir)/security

Reply via email to