mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 10:17:08 -08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user