From 805292cebecd752e605b9c6017edf39a8680fdb8 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Wed, 2 Aug 2017 00:31:35 +0000 Subject: [PATCH] core/libgcrypt: fix --- core/libgcrypt/PKGBUILD | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/libgcrypt/PKGBUILD b/core/libgcrypt/PKGBUILD index 37d34a8a9..9af44a8cf 100644 --- a/core/libgcrypt/PKGBUILD +++ b/core/libgcrypt/PKGBUILD @@ -3,6 +3,7 @@ # ALARM: Kevin Mihelich # - 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 }