summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-08-04 20:27:22 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-08-04 20:30:56 +0300
commit5bcc0634bfd39f947f076c045d4d250f8ec3b513 (patch)
treefd9230c5005468b9188c17d27036c83119f59933 /dev-lang/nasm
parentdev-qt/qtshadertools: fix build with gcc15 (diff)
downloadgentoo-5bcc0634bfd39f947f076c045d4d250f8ec3b513.tar.gz
gentoo-5bcc0634bfd39f947f076c045d4d250f8ec3b513.tar.bz2
gentoo-5bcc0634bfd39f947f076c045d4d250f8ec3b513.zip
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>
Diffstat (limited to 'dev-lang/nasm')
-rw-r--r--dev-lang/nasm/nasm-2.16.03.ebuild9
1 files 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() {