mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-emulation/dosemu: fail in pkg_pretend() on clang
dosemu needs 16-bit code assembly support from assembler. gcc/gas provides it, llvm/clang does not. Fail at pkg_pretend() for now. Reported-by: Agostino Sarubbo Bug: https://bugs.gentoo.org/729240 Package-Manager: Portage-2.3.102, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
@@ -58,6 +58,12 @@ PATCHES=(
|
||||
"${FILESDIR}"/${P}-as.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if tc-is-clang; then
|
||||
die "${P} does not work on clang due to missing 16-bit assembly support: https://bugs.gentoo.org/729240. Please try gcc."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
|
||||
Reference in New Issue
Block a user