ruby-changes:64995
From: Nobuyoshi <ko1@a...>
Date: Fri, 22 Jan 2021 18:46:50 +0900 (JST)
Subject: [ruby-changes:64995] c8121b2e3d (master): Adjust CPU name as arm64-darwin
https://git.ruby-lang.org/ruby.git/commit/?id=c8121b2e3d From c8121b2e3d85c5dc4219918604c4d301204e6455 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 22 Jan 2021 18:29:26 +0900 Subject: Adjust CPU name as arm64-darwin config.sub replaces arm64 with aarch64. diff --git a/configure.ac b/configure.ac index 5aaecba..90d08fc 100644 --- a/configure.ac +++ b/configure.ac @@ -80,6 +80,14 @@ dnl checks for alternative programs https://github.com/ruby/ruby/blob/trunk/configure.ac#L80 AC_CANONICAL_BUILD AC_CANONICAL_HOST 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" + ]) + AC_ARG_PROGRAM RUBY_RM_RECURSIVE AC_ARG_WITH(gcc, -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/