dev-lang/nasm: drop IUSE="lto"

This useflag controls only "--enable-lto", which just appends
`-flto` to *FLAGS, which is useless for a USE flag, since LTO users
are expected to add those flags to *FLAGS.

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2024-08-04 20:27:22 +03:00
parent 9b07a90980
commit 5bcc0634bf

View File

@@ -13,7 +13,7 @@ S="${WORKDIR}"/${P/_}
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 arm64 ~ia64 ~loong ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
IUSE="doc lto"
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() {