commit: 5bcc0634bfd39f947f076c045d4d250f8ec3b513
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 4 17:27:22 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 4 17:30:56 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bcc0634
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 <AT> gentoo.org>
dev-lang/nasm/nasm-2.16.03.ebuild | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/dev-lang/nasm/nasm-2.16.03.ebuild
b/dev-lang/nasm/nasm-2.16.03.ebuild
index e25dd3447c0e..472488d3e511 100644
--- a/dev-lang/nasm/nasm-2.16.03.ebuild
+++ b/dev-lang/nasm/nasm-2.16.03.ebuild
@@ -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() {