diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-05-01 08:19:29 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-05-01 08:19:29 +0200 |
commit | aa52d3b13d71bd4b068ae00b2d6f0f75647a5d7c (patch) | |
tree | c186567f58a83c79a99a2014bfc0ebf3f2d23017 /sys/src/cmd/vmx | |
parent | 2f884a511663d8666770c779beba9a7661b3499a (diff) |
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.
Diffstat (limited to 'sys/src/cmd/vmx')
-rw-r--r-- | sys/src/cmd/vmx/mkfile | 1 |
1 files changed, 1 insertions, 0 deletions
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} </$objtype/mkfile BIN=/$objtype/bin |