summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoj Gupta <manojgupta@google.com>2020-06-09 14:26:17 -0700
committerMikle Kolyada <zlogene@gentoo.org>2020-06-13 12:31:19 +0300
commitfae32c23a5ad9e2d2ff0bee702a4dca3af4bf1a9 (patch)
tree27c1a13cf38087843835278b562bd230eeb45cef /sys-libs/pam
parentnet-misc/owncloud-client: 2.6.3 bump (diff)
downloadgentoo-fae32c23a5ad9e2d2ff0bee702a4dca3af4bf1a9.tar.gz
gentoo-fae32c23a5ad9e2d2ff0bee702a4dca3af4bf1a9.tar.bz2
gentoo-fae32c23a5ad9e2d2ff0bee702a4dca3af4bf1a9.zip
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>
Diffstat (limited to 'sys-libs/pam')
-rw-r--r--sys-libs/pam/pam-1.4.0.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-libs/pam/pam-1.4.0.ebuild b/sys-libs/pam/pam-1.4.0.ebuild
index 3583a5ca60aa..78c55d58a028 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