This fixes a build error with clang for 32-bit targets:
process.c:function timetick2integer: error: undefined reference to
'__mulodi4'
# getresuid(2) does not work on ChromeOS - https://github.com/termux/termux-app/issues/147:
# TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_func_getresuid=no"
# getresuid(2) does not work on ChromeOS - https://github.com/termux/termux-app/issues/147:
# TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_func_getresuid=no"
+if [ "$TERMUX_ARCH_BITS" = 32 ]; then
+ # process.c:function timetick2integer: error: undefined reference to '__mulodi4'
+ TERMUX_PKG_CLANG=no
+fi
+
termux_step_make_install () {
make install
make uninstall # remove possible remains to get fresh timestamps
termux_step_make_install () {
make install
make uninstall # remove possible remains to get fresh timestamps