mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
core/libgcrypt: fix
This commit is contained in:
parent
479f554172
commit
805292cebe
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue