mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user