Browse Source

ruby: fix segmentation fault

android-5
Leonid Plyushch 6 years ago
parent
commit
1e81274613
  1. 1
      packages/ruby/build.sh

1
packages/ruby/build.sh

@ -23,6 +23,7 @@ termux_step_pre_configure() {
if [ "$TERMUX_ARCH_BITS" = 32 ]; then if [ "$TERMUX_ARCH_BITS" = 32 ]; then
# process.c:function timetick2integer: error: undefined reference to '__mulodi4' # process.c:function timetick2integer: error: undefined reference to '__mulodi4'
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" rb_cv_builtin___builtin_mul_overflow=no" TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" rb_cv_builtin___builtin_mul_overflow=no"
CFLAGS="${CFLAGS/-Os/-Oz}"
fi fi
} }

Loading…
Cancel
Save