app-crypt/mit-krb5: fix configure w/ cross-compile

export cache values for obsolete autoconf checks

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/626
Merges: https://codeberg.org/gentoo/gentoo/pulls/626
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nicolas PARLANT
2026-04-14 21:09:16 +02:00
committed by Sam James
parent 98e7528695
commit 6be21ae454
@@ -71,6 +71,12 @@ src_configure() {
# lto-type-mismatch (bug #854225)
filter-lto
if tc-is-cross-compiler; then
# assume modern system
export krb5_cv_attr_constructor_destructor=y
export ac_cv_printf_positional=y
fi
multilib-minimal_src_configure
}