From 1e8127461302e2c13d00db28a7809b608ea3c6df Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Wed, 27 Feb 2019 01:30:27 +0200 Subject: [PATCH] ruby: fix segmentation fault --- packages/ruby/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ruby/build.sh b/packages/ruby/build.sh index fc09d0a91..f4414c016 100644 --- a/packages/ruby/build.sh +++ b/packages/ruby/build.sh @@ -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 }