app-editors/e3: Suppress false positive warning for prestripped

Make the build fail if the arch is unknown; update to EAPI 8 for
two-argument usev.

Closes: https://bugs.gentoo.org/924244
Bug: https://bugs.gentoo.org/924353
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
Ulrich Müller 2024-02-14 13:55:14 +01:00
parent b98da75350
commit 76480eb124
No known key found for this signature in database
GPG Key ID: 5188335088415E2E
1 changed files with 7 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit toolchain-funcs
@ -18,10 +18,14 @@ BDEPEND=">=dev-lang/nasm-2.09.04"
S="${WORKDIR}/${MY_P}"
PATCHES=("${FILESDIR}"/${P}-makefile.patch)
QA_FLAGS_IGNORED="/usr/bin/e3" #726484
# Suppress false positive QA warnings #726484 #924244
QA_FLAGS_IGNORED="/usr/bin/e3"
QA_PRESTRIPPED="/usr/bin/e3"
src_compile() {
emake -- $(usex amd64 64 32) LD="$(tc-getLD)" DEBUG=true
emake -- $(usev amd64 64 || usev x86 32 || die) \
LD="$(tc-getLD)" DEBUG=true
}
src_install() {