commit:     9c74cd50bbcf288926c485765f2c6810ef93f139
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 13 06:57:20 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 07:08:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c74cd50

app-emulation/xen-tools: set OBJDUMP

Closes: https://bugs.gentoo.org/728020
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-emulation/xen-tools/xen-tools-4.16.2_pre2.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/app-emulation/xen-tools/xen-tools-4.16.2_pre2.ebuild 
b/app-emulation/xen-tools/xen-tools-4.16.2_pre2.ebuild
index 84cc9ef221d0..d41e907ed14d 100644
--- a/app-emulation/xen-tools/xen-tools-4.16.2_pre2.ebuild
+++ b/app-emulation/xen-tools/xen-tools-4.16.2_pre2.ebuild
@@ -429,7 +429,16 @@ src_compile() {
                local -x NO_WERROR=1
        fi
 
-       emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" 
RANLIB="$(tc-getRANLIB)" build-tools ${myopt}
+       emake \
+               HOSTCC="$(tc-getBUILD_CC)" \
+               HOSTCXX="$(tc-getBUILD_CXX)" \
+               CC="$(tc-getCC)" \
+               CXX="$(tc-getCXX)" \
+               LD="$(tc-getLD)" \
+               AR="$(tc-getAR)" \
+               OBJDUMP="$(tc-getOBJDUMP)" \
+               RANLIB="$(tc-getRANLIB)" \
+               build-tools ${myopt}
 
        if use doc; then
                emake -C docs build

Reply via email to