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:
parent
c8121b2e3d
commit
c3244a3574
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue