dev-lang/fbc-bootstrap: fix compiler vars

Closes: https://bugs.gentoo.org/784707
Signed-off-by: Anna Vyalkova <cyber@sysrq.in>
This commit is contained in:
Anna Vyalkova
2021-05-16 17:22:33 +05:00
parent d592068f9d
commit 418c3240b6

View File

@@ -3,6 +3,8 @@
EAPI=7
inherit toolchain-funcs
DESCRIPTION="Bootstrap package for dev-lang/fbc"
HOMEPAGE="https://www.freebasic.net"
SRC_URI="https://github.com/freebasic/fbc/releases/download/${PV}/FreeBASIC-${PV}-source-bootstrap.tar.xz"
@@ -16,7 +18,8 @@ PATCHES=( "${FILESDIR}"/fbc-1.07.0-Pass-ltinfo-to-linker.patch )
S="${WORKDIR}/FreeBASIC-${PV}-source-bootstrap"
src_compile() {
emake bootstrap-minimal
emake bootstrap-minimal \
AR=$(tc-getAR) AS=$(tc-getAS) CC=$(tc-getCC) CFLAGS="${CFLAGS}" V=1
}
src_install() {