1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Extract correct processor name for ARM64 Macs

This commit is contained in:
Samuel Giddins 2020-06-30 00:13:17 -07:00 committed by Nobuyoshi Nakada
parent 15a312ed40
commit 7cb8904a12
Notes: git 2020-06-30 19:04:21 +09:00

View file

@ -66,6 +66,9 @@ AS_IF([test ${target_archs+set}], [
#ifdef __ppc64__
"processor-name=powerpc64"
#endif
#ifdef __arm64__
"processor-name=arm64"
#endif
EOF
sed -n 's/^"processor-name=\(.*\)"/\1/p'`
target="$target_cpu${target}"