games-simulation/micropolis: fix eclass usage, don't call gcc directly

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13703
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2019-11-19 10:47:53 +01:00
committed by James Le Cuirot
parent a1d4692235
commit 32068cf720

View File

@@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils
inherit desktop eutils toolchain-funcs
DESCRIPTION="Free version of the well-known city building simulation"
HOMEPAGE="http://www.donhopkins.com/home/micropolis/"
@@ -43,7 +44,7 @@ src_prepare() {
}
src_compile() {
emake -C src LDFLAGS="${LDFLAGS}"
emake -C src LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)"
}
src_install() {