plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 291f7411783bf6871b253f3b15ce691eea7a257e
parent 1f098efb7370a0b28306d10681e21883fb1c1507
Author: Anthony Sorace <a@9srv.net>
Date:   Sat, 26 Sep 2020 16:18:00 -0700

9c, 9l: updates for macOS arm64.

Diffstat:
Mbin/9c | 4++++
Mbin/9l | 3+++
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git 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 @@ -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" ;;