summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-04-05 15:05:39 +0100
committerSam James <sam@gentoo.org>2024-04-05 15:25:17 +0100
commitaf7fd91ea1a0519e653a28112bf7fba4dbbb9188 (patch)
tree52cbd3ed440fd3df680a703124033636c188aceb /dev-lang/uasm
parentdev-lang/uasm: new package, add 2.56.2 (diff)
downloadgentoo-af7fd91ea1a0519e653a28112bf7fba4dbbb9188.tar.gz
gentoo-af7fd91ea1a0519e653a28112bf7fba4dbbb9188.tar.bz2
gentoo-af7fd91ea1a0519e653a28112bf7fba4dbbb9188.zip
dev-lang/uasm: style tweaks
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/uasm')
-rw-r--r--dev-lang/uasm/uasm-2.56.2.ebuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/dev-lang/uasm/uasm-2.56.2.ebuild b/dev-lang/uasm/uasm-2.56.2.ebuild
index 1a4c8c42f2cd..480f0d98ae38 100644
--- a/dev-lang/uasm/uasm-2.56.2.ebuild
+++ b/dev-lang/uasm/uasm-2.56.2.ebuild
@@ -8,12 +8,11 @@ inherit toolchain-funcs flag-o-matic
DESCRIPTION="UASM is a free MASM-compatible assembler"
HOMEPAGE="https://www.terraspace.co.uk/uasm.html"
SRC_URI="https://github.com/Terraspace/UASM/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Watcom-1.0"
+S="${WORKDIR}/UASM-${PV}"
+LICENSE="Watcom-1.0"
SLOT="0"
KEYWORDS="~amd64"
-
-S="${WORKDIR}/UASM-${PV}"
PATCHES=(
"${FILESDIR}/build-fix.patch"
)
@@ -25,9 +24,13 @@ src_prepare() {
}
src_compile() {
- append-cflags -fcommon # Bug: https://github.com/Terraspace/UASM/issues/143
- emake -f gccLinux64.mak CC="$(tc-getCC)" \
- CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+ # Bug: https://github.com/Terraspace/UASM/issues/143
+ append-cflags -fcommon
+
+ emake -f gccLinux64.mak \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
}
src_install() {