libwebp: unbreak for ARM.

This commit is contained in:
Juan RP 2016-07-16 08:04:08 +02:00
parent f2f9c20619
commit bdfe1096ed
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@ license="3-clause-BSD"
distfiles="http://downloads.webmproject.org/releases/webp/${pkgname}-${version}.tar.gz"
checksum=6ad66c6fcd60a023de20b6856b03da8c7d347269d76b1fd9c3287e8b5e8813df
case "$XBPS_TARGET_MACHINE" in
armv6*) configure_args+=" --disable-neon";;
armv7*) CFLAGS="-mfpu=neon";;
esac
pre_configure() {
autoreconf -fi
}