From 36a1b9b653eb45ae33735f906d3e7ff6e4d61365 Mon Sep 17 00:00:00 2001 From: ryang Date: Fri, 15 Jun 2018 14:59:05 -0400 Subject: main/nettle: disable arm neon nettle checks the build machine for cpu features which ends up enabling neon but armv6 only supports up to vfpv2. --- main/nettle/APKBUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main/nettle/APKBUILD b/main/nettle/APKBUILD index dd16ccdd9a..c87acf3e1b 100644 --- a/main/nettle/APKBUILD +++ b/main/nettle/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Fabian Affolter pkgname=nettle pkgver=3.4 -pkgrel=0 +pkgrel=1 pkgdesc="A low-level cryptographic library" url="http://www.lysator.liu.se/~nisse/nettle/" arch="all" @@ -17,6 +17,7 @@ source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz builddir="$srcdir/$pkgname-$pkgver" build() { + [ "$CARCH" = "armhf" ] && local _ARM_NEON="--disable-arm-neon" cd "$builddir" ./configure \ --build=$CBUILD \ @@ -28,7 +29,8 @@ build() { --infodir=/usr/share/info \ --localstatedir=/var \ --enable-shared \ - --disable-openssl + --disable-openssl \ + $_ARM_NEON make # strip comments in fields from .pc as it confuses pkgconf sed -i -e 's/ \#.*//' *.pc -- cgit v1.2.3