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