ref: aa52d3b13d71bd4b068ae00b2d6f0f75647a5d7c
parent: 2f884a511663d8666770c779beba9a7661b3499a
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed May 1 04:19:29 EDT 2019
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.
--- a/sys/src/cmd/vmx/mkfile
+++ b/sys/src/cmd/vmx/mkfile
@@ -1,3 +1,4 @@
+objtype=`{~ $objtype (386 amd64) && echo $objtype || echo 386}
</$objtype/mkfile
BIN=/$objtype/bin