ruby: use -O3 instead of -Os for 32 bit arches
This commit is contained in:
parent
fd97ae4e21
commit
743917b67f
@ -22,6 +22,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"
|
||||||
|
export CFLAGS="${CFLAGS/-Os/} -O3"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user