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@google.com>
Closes: https://github.com/gentoo/gentoo/pull/16154
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
This commit is contained in:
Manoj Gupta
2020-06-13 12:31:19 +03:00
committed by Mikle Kolyada
parent fdbacd407e
commit fae32c23a5
+1
View File
@@ -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