fixed m1 arch
This commit is contained in:
parent
f87b580e02
commit
55892b9e97
1 changed files with 5 additions and 0 deletions
5
zig
5
zig
|
@ -3,6 +3,11 @@ set -e
|
|||
|
||||
ARCH=$(uname -m)
|
||||
|
||||
# fix M1 Mac architecture name
|
||||
if [ "$ARCH" == "arm64" ]; then
|
||||
ARCH=aarch64
|
||||
fi
|
||||
|
||||
BASEDIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
ZIGDIR=$BASEDIR/.cache/zig
|
||||
VERSION=$(< build.zig.version)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue