From 63c2c2a0e5103a736844c72b25c788b8c9767f0b Mon Sep 17 00:00:00 2001 From: David Michael Date: Wed, 14 Jun 2017 17:41:13 -0700 Subject: [PATCH] app-crypt/pesign: Supply cross-compiling programs Gentoo-Bug: https://bugs.gentoo.org/621804 Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- app-crypt/pesign/pesign-0.112.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app-crypt/pesign/pesign-0.112.ebuild b/app-crypt/pesign/pesign-0.112.ebuild index 01a0925a2bd..cf6e2938d8c 100644 --- a/app-crypt/pesign/pesign-0.112.ebuild +++ b/app-crypt/pesign/pesign-0.112.ebuild @@ -33,7 +33,13 @@ PATCHES=( ) src_compile() { - emake CC="$(tc-getCC)" + emake AR="$(tc-is-gcc && echo "$(tc-getCC)-ar" || tc-getAR)" \ + AS="$(tc-getAS)" \ + CC="$(tc-getCC)" \ + LD="$(tc-getLD)" \ + OBJCOPY="$(tc-getOBJCOPY)" \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" \ + RANLIB="$(tc-getRANLIB)" } src_install() { -- 2.13.0