commit: ca905312e94165fbda3b48ef078bb66e7da8f086 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> AuthorDate: Fri Nov 6 07:44:48 2020 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Thu Nov 12 07:51:48 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca905312
dev-embedded/avra: fix CC call Closes: https://bugs.gentoo.org/722638 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> dev-embedded/avra/avra-1.4.1.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-embedded/avra/avra-1.4.1.ebuild b/dev-embedded/avra/avra-1.4.1.ebuild index ae31d3fd691..f39b49bd9b5 100644 --- a/dev-embedded/avra/avra-1.4.1.ebuild +++ b/dev-embedded/avra/avra-1.4.1.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +inherit toolchain-funcs + DESCRIPTION="Atmel AVR Assembler" HOMEPAGE="https://github.com/hsoft/avra" SRC_URI="https://github.com/hsoft/avra/archive/${PV}.tar.gz -> ${P}.tar.gz" @@ -12,7 +14,11 @@ SLOT="0" KEYWORDS="amd64 ~ppc x86" src_compile() { - emake PREFIX=/usr CFLAGS="${CFLAGS} \$(CDEFS)" LDFLAGS="${LDFLAGS}" + emake \ + CC=$(tc-getCC) \ + PREFIX=/usr \ + CFLAGS="${CFLAGS} \$(CDEFS)" \ + LDFLAGS="${LDFLAGS}" } src_install() {
