starship: Fix arm build

This commit is contained in:
Fredrik Fornwall 2019-12-31 02:08:22 +01:00
parent 0d7e0b4acb
commit c998769bf7

View File

@ -10,5 +10,8 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--no-default-features"
termux_step_pre_configure() {
CFLAGS+=" $CPPFLAGS"
if [ $TERMUX_ARCH = arm ]; then
CFLAGS+=" -fno-integrated-as"
fi
}