commit:     4e5ad71936f0ce65d88f75b01c67516bfa019959
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 16 21:00:55 2022 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Apr 16 21:00:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e5ad719

app-emulation/aranym: Export the build environment for configure

Closes: https://bugs.gentoo.org/838841
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 app-emulation/aranym/aranym-1.1.0.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-emulation/aranym/aranym-1.1.0.ebuild 
b/app-emulation/aranym/aranym-1.1.0.ebuild
index 87efc9b39976..ac7ca441637a 100644
--- a/app-emulation/aranym/aranym-1.1.0.ebuild
+++ b/app-emulation/aranym/aranym-1.1.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools multibuild xdg
+inherit autotools multibuild toolchain-funcs xdg
 
 DESCRIPTION="Atari Running on Any Machine, VM running Atari ST/TT/Falcon OS 
and TOS/GEM apps"
 HOMEPAGE="https://aranym.github.io";
@@ -50,6 +50,9 @@ src_prepare() {
 }
 
 src_configure() {
+       tc-export_build_env
+       export CC_FOR_BUILD=$(tc-getBUILD_CC) CXX_FOR_BUILD=$(tc-getBUILD_CXX)
+
        # standard must come last otherwise the aranym executable gets
        # overwritten by the others.
        MULTIBUILD_VARIANTS=(

Reply via email to