core/libgcrypt: fix

This commit is contained in:
Kevin Mihelich 2017-08-02 00:31:35 +00:00
parent 479f554172
commit 805292cebe

View file

@ -3,6 +3,7 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disable NEON and ARMv8 crypto support on !AArch64
# - fix screwed up capability detection
pkgname=libgcrypt
pkgver=1.8.0
@ -30,6 +31,13 @@ build() {
--disable-static \
--disable-padlock-support \
$CONFIG
# fix screwed up capability detection
if [[ $CARCH != "aarch64" ]]; then
sed -i '/HAVE_GCC_INLINE_ASM_AARCH32_CRYPTO 1/d' config.h
sed -i '/HAVE_GCC_INLINE_ASM_NEON 1/d' config.h
fi
make
}