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

Do not set target_alias if unset

This commit is contained in:
Nobuyoshi Nakada 2021-01-22 22:29:17 +09:00
parent c8121b2e3d
commit c3244a3574
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -83,9 +83,9 @@ AC_CANONICAL_TARGET
AS_CASE(["$target_cpu-$target_os"],
[aarch64-darwin*], [
target_cpu=arm64
AS_CASE(["$target_vendor"], [unknown], [target_vendor=apple])
target="$target_cpu-$target_vendor-$target_os"
target_alias="$target_cpu-$target_os"
AS_CASE(["$target_vendor"], [unknown], [target_vendor=apple target=${target/-unknown-/-apple-}])
target="${target/aarch64/arm64}"
target_alias="${target_alias/aarch64/arm64}"
])
AC_ARG_PROGRAM