changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > plan9front / changeset: vmx: build vmx only for 386 or amd64

changeset 7178: c15a95dfdc11
parent 7177: eb2ef71ad17e
child 7179: b3b84087ac92
author: cinap_lenrek@felloff.net
date: Wed, 01 May 2019 08:19:29 +0200
files: sys/src/cmd/vmx/mkfile
description: vmx: build vmx only for 386 or amd64

vmx uses non portable word unpacking macros, breaking
the build for arm64. vmx only works on a pc anyway.
this forces objtype to 386 on these machines, similar
to what the kernel mkfiles do.
     1.1--- a/sys/src/cmd/vmx/mkfile
     1.2+++ b/sys/src/cmd/vmx/mkfile
     1.3@@ -1,3 +1,4 @@
     1.4+objtype=`{~ $objtype (386 amd64) && echo $objtype || echo 386}
     1.5 </$objtype/mkfile
     1.6 
     1.7 BIN=/$objtype/bin