dev-lang/nasm: Sync with Gentoo

It's from Gentoo commit 5bcc0634bfd39f947f076c045d4d250f8ec3b513.
This commit is contained in:
Flatcar Buildbot 2024-08-12 07:13:05 +00:00 committed by Krzesimir Nowak
parent 25548ca96d
commit a4b9ede37f
2 changed files with 7 additions and 8 deletions

View File

@ -2,8 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>matthew@gentoo.org</email>
<name>Matthew Smith</name>
<email>arthurzam@gentoo.org</email>
<name>Arthur Zamarin</name>
</maintainer>
<longdescription>
The Netwide Assembler, NASM, is an 80x86 assembler designed for portability

View File

@ -12,8 +12,8 @@ S="${WORKDIR}"/${P/_}
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ia64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
IUSE="doc lto"
KEYWORDS="amd64 arm64 ~ia64 ~loong ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
IUSE="doc"
QA_CONFIG_IMPL_DECL_SKIP=(
# Windows.
@ -75,10 +75,9 @@ src_prepare() {
}
src_configure() {
local myconfargs=(
$(use_enable lto)
)
econf "${myconfargs[@]}"
# --enable-lto just appends -flto to *FLAGS
# so let users just use lto through normal make.conf *FLAGS
econf
}
src_compile() {