diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2021-01-05 13:48:42 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2021-01-05 13:59:03 +0900 |
commit | b9c1b3f8d82b6f2517786b2f9e06683909af34c3 (patch) | |
tree | c07de06bf35274a9103e41831152c9d429cb2ee1 /configure.ac | |
parent | f2d0d4cb0ace469e2ca2fd11e16261df1f2840ff (diff) |
configure.ac: disable using __builtin_setjmp on ARM Android
A patch from Tee KOBAYASHI <xtkoba+ruby@gmail.com>. [Bug #17511]
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e1e59f06fc..3d1c5b6225 100644 --- a/configure.ac +++ b/configure.ac @@ -892,6 +892,12 @@ AS_CASE(["$target_os"], dnl Checks for libraries. AS_CASE(["$target_os"],[*bsd*|dragonfly*],[],[ac_cv_func_daemon=no]) +AS_CASE(["$target_os"], [*android*], [ + AS_CASE(["$target_cpu"], [arm*], [ + ac_cv_func___builtin_setjmp=no + ]) +]) + AS_UNSET(ORIG_LIBS) POSTLINK=: AC_SUBST(POSTLINK) |