summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-11-06 08:44:48 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-11-12 09:51:48 +0200
commitca905312e94165fbda3b48ef078bb66e7da8f086 (patch)
treea9391f1c7b8efe374edd74a3fe34fec0d61a1443 /dev-embedded
parentdev-cpp/sparsehash: S="..." in 2.0.4 (diff)
downloadgentoo-ca905312e94165fbda3b48ef078bb66e7da8f086.tar.gz
gentoo-ca905312e94165fbda3b48ef078bb66e7da8f086.tar.bz2
gentoo-ca905312e94165fbda3b48ef078bb66e7da8f086.zip
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@sartura.hr> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/avra/avra-1.4.1.ebuild10
1 files 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 ae31d3fd6919..f39b49bd9b5d 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() {