ruby-changes:64997
From: Nobuyoshi <ko1@a...>
Date: Fri, 22 Jan 2021 22:29:42 +0900 (JST)
Subject: [ruby-changes:64997] c3244a3574 (master): Do not set target_alias if unset
https://git.ruby-lang.org/ruby.git/commit/?id=c3244a3574 From c3244a3574da8ddc35523ef1b882dd2aadfc2818 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 22 Jan 2021 22:29:17 +0900 Subject: Do not set target_alias if unset diff --git a/configure.ac b/configure.ac index 90d08fc..65afe5a 100644 --- a/configure.ac +++ b/configure.ac @@ -83,9 +83,9 @@ AC_CANONICAL_TARGET https://github.com/ruby/ruby/blob/trunk/configure.ac#L83 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/