shithub: drawterm

Download patch

ref: eec4e10419d1fa8955c30bacb4b49b8fdb426f78
parent: 401b33384215ea3f7e6a89e61f75e8acb35a3cc4
author: iyzsong <iyzsong@envs.net>
date: Fri Apr 5 06:50:02 EDT 2024

haiku: fix build for 32-bit x86 (BePC)

--- a/Make.haiku
+++ b/Make.haiku
@@ -17,5 +17,5 @@
 all: default
 
 libmachdep.a:
-	arch=`uname -m|sed 's/i.86/386/;s/Power Macintosh/power/; s/x86_64/amd64/; s/armv[567].*/arm/; s/aarch64/arm64/'`; \
+	arch=`uname -m|sed 's/BePC/386/; s/x86_64/amd64/; s/armv[567].*/arm/; s/aarch64/arm64/'`; \
 	(cd posix-$$arch &&  make)