dev-libs/libgpg-error: support cross-compile

Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
This commit is contained in:
Alon Bar-Lev
2018-10-06 02:29:02 +03:00
parent 32fff68860
commit 0033b2f134

View File

@@ -38,7 +38,8 @@ multilib_src_configure() {
$(use_enable nls) \
$(use_enable static-libs static) \
--enable-threads \
CC_FOR_BUILD="$(tc-getBUILD_CC)"
CC_FOR_BUILD="$(tc-getBUILD_CC)" \
$("${S}/configure" --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#")
}
multilib_src_install_all() {