mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
9c, 9l: updates for macOS arm64.
This commit is contained in:
parent
1f098efb73
commit
291f741178
2 changed files with 7 additions and 0 deletions
4
bin/9c
4
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"
|
||||
|
|
3
bin/9l
3
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"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue