libpng: forcefully disable neon on armv6l.
This commit is contained in:
parent
1913f69efa
commit
20caeed727
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'libpng'.
|
||||
pkgname=libpng
|
||||
version=1.6.8
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="ac_cv_func_strtod=yes"
|
||||
makedepends="zlib-devel"
|
||||
|
@ -12,6 +12,10 @@ license="zlib"
|
|||
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.xz"
|
||||
checksum=24f73d8b5e1d74a9482c81b65c3f93f96c7da7ed0417b8a948a75d2d99133081
|
||||
|
||||
if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
|
||||
configure_args+=" --disable-arm-neon"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
rm -f ${DESTDIR}/usr/lib/*.la
|
||||
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
||||
|
|
Loading…
Reference in a new issue