diff --git a/srcpkgs/libwebp/template b/srcpkgs/libwebp/template index fa8e6df2d40..a1ed8eaaaca 100644 --- a/srcpkgs/libwebp/template +++ b/srcpkgs/libwebp/template @@ -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 }