+termux_step_pre_configure () {
+ CFLAGS+=" -Wno-error=maybe-uninitialized"
+ # rindex is obsolete name of strrchr which is not available in Android
+ # function signature stays same, so I'm replacing it with C preprocessor
+ # instead of patch
+ CFLAGS+=" -Drindex=strrchr"