mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +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>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - disable NEON and ARMv8 crypto support on !AArch64
|
# - disable NEON and ARMv8 crypto support on !AArch64
|
||||||
|
# - fix screwed up capability detection
|
||||||
|
|
||||||
pkgname=libgcrypt
|
pkgname=libgcrypt
|
||||||
pkgver=1.8.0
|
pkgver=1.8.0
|
||||||
|
@ -30,6 +31,13 @@ build() {
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-padlock-support \
|
--disable-padlock-support \
|
||||||
$CONFIG
|
$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
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue