summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-04-16 22:00:55 +0100
committerJames Le Cuirot <chewi@gentoo.org>2022-04-16 22:00:55 +0100
commit4e5ad71936f0ce65d88f75b01c67516bfa019959 (patch)
tree10b6b5306214c0e21c8f7e9f9d49628fb56430d8 /app-emulation/aranym
parentmedia-libs/freetype: Removed old (diff)
downloadgentoo-4e5ad71936f0ce65d88f75b01c67516bfa019959.tar.gz
gentoo-4e5ad71936f0ce65d88f75b01c67516bfa019959.tar.bz2
gentoo-4e5ad71936f0ce65d88f75b01c67516bfa019959.zip
app-emulation/aranym: Export the build environment for configure
Closes: https://bugs.gentoo.org/838841 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'app-emulation/aranym')
-rw-r--r--app-emulation/aranym/aranym-1.1.0.ebuild5
1 files changed, 4 insertions, 1 deletions
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=(