summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2021-02-11 13:35:28 +0900
committernagachika <nagachika@ruby-lang.org>2021-02-11 13:52:14 +0900
commitf03ba00f40e7c964efcfffc7a761074800ecc1a4 (patch)
tree9d79466705617513763337f0781ba8135123d656
parent4b6df7f735c10f326f09a44fe38dc10b05ced21c (diff)
merge revision(s) 43a9a974e276dc49b03ec81ccace0adb534a3d20: [Backport #17021] [Backport #17605]
[Bug #17021] Make host_* values consistent with target_* --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
-rw-r--r--configure.ac7
-rw-r--r--version.h2
2 files changed, 7 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index db8ab2784f..9077f4b953 100644
--- a/configure.ac
+++ b/configure.ac
@@ -309,9 +309,14 @@ AC_SUBST(CC_VERSION_MESSAGE, $cc_version_message)
: ${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
AS_CASE(["$target_os"], [darwin*], [
if libtool 2>&1 | grep no_warning_for_no_symbols > /dev/null; then
diff --git a/version.h b/version.h
index 0f507c0a9c..84a5b160e9 100644
--- a/version.h
+++ b/version.h
@@ -2,7 +2,7 @@
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
#define RUBY_VERSION_TEENY 3
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
-#define RUBY_PATCHLEVEL 153
+#define RUBY_PATCHLEVEL 154
#define RUBY_RELEASE_YEAR 2021
#define RUBY_RELEASE_MONTH 2