logo

overlay

My (experimental) gentoo overlay
commit: 3167d99d601bd8fedf2d68ee6956ff6c3ef787a6
parent: 4cc2f1202fd1509e3a33507eab20bfa468e29dc1
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  2 Jan 2019 03:07:49 +0100

games-emulation/reicast: give toolchain-variables in src_compile

Diffstat:

Mgames-emulation/reicast/reicast-8.1.ebuild11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/games-emulation/reicast/reicast-8.1.ebuild b/games-emulation/reicast/reicast-8.1.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit toolchain-funcs + DESCRIPTION="A Dreamcast Emulator" HOMEPAGE="http://reicast.com/" LICENSE="GPL-2" @@ -17,6 +19,15 @@ DEPEND=" S="${WORKDIR}/reicast-emulator-r${PV}/shell/linux" +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + AS="$(tc-getAS)" \ + STRIP="$(tc-getSTRIP)" \ + LD="$(tc-getLD)" +} + src_install() { emake DESTDIR="${D}" PREFIX="/usr" install }