ruby: fix segmentation fault

This commit is contained in:
Leonid Pliushch 2019-02-27 01:30:27 +02:00
parent 067f4c0dca
commit 4a2f5b6452

View File

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