зеркало из https://github.com/github/ruby.git
Fix autoconf RUBY_STACK_GROW_DIRECTION on ARM devices
This commit is contained in:
Родитель
ef00c6da88
Коммит
c8bafc3b01
|
@ -3,7 +3,7 @@ AC_DEFUN([RUBY_STACK_GROW_DIRECTION], [
|
||||||
AS_VAR_PUSHDEF([stack_grow_dir], [rb_cv_stack_grow_dir_$1])
|
AS_VAR_PUSHDEF([stack_grow_dir], [rb_cv_stack_grow_dir_$1])
|
||||||
AC_CACHE_CHECK(stack growing direction on $1, stack_grow_dir, [
|
AC_CACHE_CHECK(stack growing direction on $1, stack_grow_dir, [
|
||||||
AS_CASE(["$1"],
|
AS_CASE(["$1"],
|
||||||
[m68*|x86*|x64|i?86|ppc*|sparc*|alpha*], [ $2=-1],
|
[m68*|x86*|x64|i?86|ppc*|sparc*|alpha*|arm*|aarch*], [ $2=-1],
|
||||||
[hppa*], [ $2=+1],
|
[hppa*], [ $2=+1],
|
||||||
[
|
[
|
||||||
AC_RUN_IFELSE([AC_LANG_SOURCE([[
|
AC_RUN_IFELSE([AC_LANG_SOURCE([[
|
||||||
|
|
Загрузка…
Ссылка в новой задаче