libpixman: Fix arm build with -fno-integrated-as

This commit is contained in:
Fredrik Fornwall 2018-09-20 22:28:39 +02:00
parent 2811236000
commit 5304c8302f

View File

@ -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
}