diff options
author | Anthony Sorace <a@9srv.net> | 2020-09-26 16:18:00 -0700 |
---|---|---|
committer | Dan Cross <crossd@gmail.com> | 2020-09-27 06:45:02 -0400 |
commit | 291f7411783bf6871b253f3b15ce691eea7a257e (patch) | |
tree | bdd386488f679be27a02cad9139706b8b3e34f99 | |
parent | 1f098efb7370a0b28306d10681e21883fb1c1507 (diff) | |
download | plan9port-291f7411783bf6871b253f3b15ce691eea7a257e.tar.gz plan9port-291f7411783bf6871b253f3b15ce691eea7a257e.tar.bz2 plan9port-291f7411783bf6871b253f3b15ce691eea7a257e.zip |
9c, 9l: updates for macOS arm64.
-rwxr-xr-x | bin/9c | 4 | ||||
-rwxr-xr-x | bin/9l | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -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" @@ -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" ;; |