From 291f7411783bf6871b253f3b15ce691eea7a257e Mon Sep 17 00:00:00 2001 From: Anthony Sorace Date: Sat, 26 Sep 2020 16:18:00 -0700 Subject: 9c, 9l: updates for macOS arm64. --- bin/9c | 4 ++++ bin/9l | 3 +++ 2 files changed, 7 insertions(+) (limited to 'bin') 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" ;; -- cgit v1.2.3