mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[Bug #17021] Make host_* values consistent with target_*
This commit is contained in:
parent
ece917bab3
commit
43a9a974e2
Notes:
git
2020-11-22 09:10:48 +09:00
1 changed files with 6 additions and 1 deletions
|
@ -371,9 +371,14 @@ AC_SUBST(CC_VERSION_MESSAGE, $cc_version_message)
|
||||||
: ${DLDFLAGS="$LDFLAGS"}
|
: ${DLDFLAGS="$LDFLAGS"}
|
||||||
|
|
||||||
RUBY_UNIVERSAL_ARCH
|
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")
|
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], [
|
AC_CACHE_CHECK([for $AR flags], [rb_cv_arflags], [
|
||||||
AS_IF([$AR rcD conftest.a > /dev/null 2>&1 && rm conftest.a],
|
AS_IF([$AR rcD conftest.a > /dev/null 2>&1 && rm conftest.a],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue