From aa52d3b13d71bd4b068ae00b2d6f0f75647a5d7c Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 1 May 2019 08:19:29 +0200 Subject: 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. --- sys/src/cmd/vmx/mkfile | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/src') diff --git a/sys/src/cmd/vmx/mkfile b/sys/src/cmd/vmx/mkfile index c5c8996ac..36befd0c6 100644 --- a/sys/src/cmd/vmx/mkfile +++ b/sys/src/cmd/vmx/mkfile @@ -1,3 +1,4 @@ +objtype=`{~ $objtype (386 amd64) && echo $objtype || echo 386}