Skip to content

Commit 93a8029

Browse files
mtsanovvkhwilliamson
authored andcommitted
Fix darwin arch hint on arm64 when using use64bitall
When calling Configure with use64bitall on arm64 macOS, it compiles a test program using clang and an -arch flag that is not followed by anything. Seems like the darwin arch hint when using use64bitall couldn't work with the 'arm' result from uname -p.
1 parent b6cf02c commit 93a8029

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hints/darwin.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ EOM
427427
case `uname -p` in
428428
powerpc) arch=ppc64 ;;
429429
i386) arch=x86_64 ;;
430+
arm) arch=arm64 ;;
430431
*) cat <<EOM >&4
431432
432433
*** Don't recognize processor, can't specify 64 bit compilation.

0 commit comments

Comments
 (0)