aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/9c4
-rwxr-xr-xbin/9l3
2 files changed, 7 insertions, 0 deletions
diff --git a/bin/9c b/bin/9c
index a22a0a08..59adda7f 100755
--- a/bin/9c
+++ b/bin/9c
@@ -119,6 +119,10 @@ case "$tag" in
useclang
cflags="$cflags -g3 -m64"
;;
+*Darwin-arm64*)
+ useclang
+ cflags="$cflags -g3 -m64"
+ ;;
*Darwin*clang*)
useclang
cflags="$cflags -g3 -m32"
diff --git a/bin/9l b/bin/9l
index b4f91584..f6eb0ba1 100755
--- a/bin/9l
+++ b/bin/9l
@@ -30,6 +30,9 @@ case "$tag" in
*Darwin*x86_64*)
ld="${CC9:-gcc} -m64 $CC9FLAGS"
;;
+*Darwin-arm64*)
+ ld="${CC9:-gcc} -m64 $CC9FLAGS"
+ ;;
*Darwin*)
ld="${CC9:-gcc} -m32 $CC9FLAGS"
;;