Add arm to ONLY_FOR_ARCHS, give a chance to mips64* while here.

This commit is contained in:
jca 2016-12-18 18:38:59 +00:00
parent 441ed57e3b
commit 5951a6ebc1
2 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# $OpenBSD: Makefile,v 1.7 2016/11/02 07:43:40 jca Exp $
# $OpenBSD: Makefile,v 1.8 2016/12/18 18:38:59 jca Exp $
ONLY_FOR_ARCHS= i386 amd64 powerpc sparc64 mips64 mips64el
ONLY_FOR_ARCHS= i386 amd64 powerpc sparc64 mips64 mips64el arm
COMMENT= Plan9 terminal emulator

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-Make_openbsd,v 1.3 2016/11/02 07:42:55 jca Exp $
--- Make.openbsd.orig Tue Nov 1 20:07:39 2016
+++ Make.openbsd Tue Nov 1 20:04:52 2016
@@ -5,12 +5,12 @@ AS=as
$OpenBSD: patch-Make_openbsd,v 1.4 2016/12/18 18:38:59 jca Exp $
--- Make.openbsd.orig Tue Nov 1 23:05:17 2016
+++ Make.openbsd Mon Nov 14 04:00:14 2016
@@ -5,17 +5,17 @@ AS=as
RANLIB=ranlib
X11=/usr/X11R6
CC=gcc
@ -17,3 +17,9 @@ $OpenBSD: patch-Make_openbsd,v 1.3 2016/11/02 07:42:55 jca Exp $
TARG=drawterm
AUDIO=sndio
all: default
libmachdep.a:
- arch=`uname -m|sed 's/i.86/386/; s/macppc/power/; s/socppc/power/; s/x86_64/amd64/; s/sparc64/sun4u/'`; \
+ arch=`uname -m|sed 's/i.86/386/; s/macppc/power/; s/socppc/power/; s/x86_64/amd64/; s/sparc64/sun4u/; s/arm.*/arm/; s/mips64.*/mips/'`; \
(cd posix-$$arch && make)