dev-lang/uasm: use append-cflags

Signed-off-by: NRK <nrk@disroot.org>
This commit is contained in:
NRK
2024-02-24 15:49:14 +00:00
parent cdc75fb7c0
commit 68c75128c0

View File

@@ -3,7 +3,7 @@
EAPI=8
inherit toolchain-funcs
inherit toolchain-funcs flag-o-matic
DESCRIPTION="UASM is a free MASM-compatible assembler"
HOMEPAGE="https://www.terraspace.co.uk/uasm.html"
@@ -25,9 +25,9 @@ src_prepare() {
}
src_compile() {
# -fcommon: https://github.com/Terraspace/UASM/issues/143
append-cflags -fcommon # Bug: https://github.com/Terraspace/UASM/issues/143
emake -f gccLinux64.mak CC="$(tc-getCC)" \
CFLAGS="${CFLAGS} -fcommon" LDFLAGS="${LDFLAGS}"
CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}
src_install() {