[前][次][番号順一覧][スレッド一覧]

ruby-changes:63676

From: Nobuyoshi <ko1@a...>
Date: Sun, 22 Nov 2020 09:10:34 +0900 (JST)
Subject: [ruby-changes:63676] 43a9a974e2 (master): [Bug #17021] Make host_* values consistent with target_*

https://git.ruby-lang.org/ruby.git/commit/?id=43a9a974e2

From 43a9a974e276dc49b03ec81ccace0adb534a3d20 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sat, 21 Nov 2020 23:21:52 +0900
Subject: [Bug #17021] Make host_* values consistent with target_*


diff --git a/configure.ac b/configure.ac
index 4e4a52f..3174781 100644
--- a/configure.ac
+++ b/configure.ac
@@ -371,9 +371,14 @@ AC_SUBST(CC_VERSION_MESSAGE, $cc_version_message) https://github.com/ruby/ruby/blob/trunk/configure.ac#L371
 : ${DLDFLAGS="$LDFLAGS"}
 
 RUBY_UNIVERSAL_ARCH
-AS_IF([test "$target_cpu" != "$host_cpu" -a "$GCC" = yes -a "$cross_compiling" = no -a "$universal_binary" = no], [
+AS_IF([test "$target_cpu" != "$host_cpu" -a "$GCC" = yes -a "$cross_compiling" = no -a "${universal_binary:-no}" = no], [
     RUBY_DEFAULT_ARCH("$target_cpu")
 ])
+host_os=$target_os
+host_vendor=$target_vendor
+host_cpu=$target_cpu
+host=$target
+host_alias=$target_alias
 
 AC_CACHE_CHECK([for $AR flags], [rb_cv_arflags], [
     AS_IF([$AR rcD conftest.a > /dev/null 2>&1 && rm conftest.a],
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]