diff --git a/packages/libpixman/build.sh b/packages/libpixman/build.sh index 7a5432755..d9a0422ca 100644 --- a/packages/libpixman/build.sh +++ b/packages/libpixman/build.sh @@ -4,3 +4,9 @@ TERMUX_PKG_VERSION=0.34.0 TERMUX_PKG_SRCURL=https://cairographics.org/releases/pixman-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=21b6b249b51c6800dc9553b65106e1e37d0e25df942c90531d4c3997aa20a88e TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-libpng" + +termux_step_pre_configure () { + if [ $TERMUX_ARCH = arm ]; then + CFLAGS+=" -fno-integrated-as" + fi +}