t9c, 9l: updates for macOS arm64. - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 291f7411783bf6871b253f3b15ce691eea7a257e
(DIR) parent 1f098efb7370a0b28306d10681e21883fb1c1507
(HTM) Author: Anthony Sorace <a@9srv.net>
Date: Sat, 26 Sep 2020 16:18:00 -0700
9c, 9l: updates for macOS arm64.
Diffstat:
M bin/9c | 4 ++++
M bin/9l | 3 +++
2 files changed, 7 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/bin/9c b/bin/9c
t@@ -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"
(DIR) diff --git a/bin/9l b/bin/9l
t@@ -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"
;;