commit: d919cdea44cb7606ebbe54de9f996f83439fae1d
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 8 09:06:15 2026 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Mar 8 09:07:59 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d919cdea
app-emulation/xtrs: Don't inherit flag-o-matic
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
app-emulation/xtrs/xtrs-4.9d_p20250819.ebuild | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/app-emulation/xtrs/xtrs-4.9d_p20250819.ebuild
b/app-emulation/xtrs/xtrs-4.9d_p20250819.ebuild
index d313250acd98..d887061fbd08 100644
--- a/app-emulation/xtrs/xtrs-4.9d_p20250819.ebuild
+++ b/app-emulation/xtrs/xtrs-4.9d_p20250819.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit eapi9-ver flag-o-matic toolchain-funcs readme.gentoo-r1
+inherit eapi9-ver toolchain-funcs readme.gentoo-r1
COMMIT="3a2180c063811a715faa28d39a94739c33e0abd0"
DESCRIPTION="Radio Shack TRS-80 emulator"
@@ -39,17 +39,18 @@ src_prepare() {
}
src_compile() {
- append-flags -std=gnu17
+ local endian=""
case $(tc-endian) in
little) ;;
- big) append-flags -Dbig_endian ;;
+ big) endian="-Dbig_endian" ;;
*) die ;;
esac
emake \
CC="$(tc-getCC)" \
- DEBUG="${CFLAGS}" \
+ DEBUG="${CFLAGS} -std=gnu17" \
LDFLAGS="${LDFLAGS}" \
+ ENDIAN="${endian}" \
ZMACFLAGS="-h -l" \
HTMLDOCS=
}