sys-devel/qbe: cleanup most elibc_mingw use

As Ionen pointed out on the PR, it isn't needed for deps because the USE flag
is only ever set on profiles synthesised by crossdev. We can also drop
src_test as we don't currently run tests for cross, though maybe one day
soonish.

Fixes: 5b812fdf1b
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-06-06 20:49:40 +01:00
parent 0aea540208
commit 9a9672a55f
3 changed files with 0 additions and 26 deletions

View File

@@ -4,10 +4,6 @@
# Unmask the flag which corresponds to ARCH.
-riscv
# Haelwenn (lanodan) Monnier <contact@hacktivis.me> (2026-06-02)
# mingw isn't keyworded for riscv
elibc_mingw
# Michael Orlitzky <mjo@gentoo.org> (2024-09-01)
# These lisp implementations have ~riscv keywords.
# This counteracts the mask in arch/base/use.mask.

View File

@@ -23,9 +23,6 @@ SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
# For qbe in targets like x86_64-w64-mingw32
BDEPEND="test? ( elibc_mingw? ( virtual/wine ) )"
DOCS=( README doc )
src_prepare() {
@@ -78,14 +75,6 @@ src_compile() {
emake CFLAGS="-std=c99 ${CPPFLAGS} ${CFLAGS}"
}
src_test() {
if use elibc_mingw; then
TARGET=amd64_win default
else
default
fi
}
src_install() {
einstalldocs
emake install DESTDIR="${ED}" PREFIX=/usr

View File

@@ -23,9 +23,6 @@ SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
# For qbe in targets like x86_64-w64-mingw32
BDEPEND="test? ( elibc_mingw? ( virtual/wine ) )"
DOCS=( README doc )
src_prepare() {
@@ -78,14 +75,6 @@ src_compile() {
emake CFLAGS="-std=c99 ${CPPFLAGS} ${CFLAGS}"
}
src_test() {
if use elibc_mingw; then
TARGET=amd64_win default
else
default
fi
}
src_install() {
einstalldocs
emake install DESTDIR="${ED}" PREFIX=/usr