mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
core/libgcrypt: fix
This commit is contained in:
parent
381a76d7af
commit
6378c2e42e
1 changed files with 1 additions and 8 deletions
|
@ -2,7 +2,6 @@
|
|||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - disable NEON and ARMv8 crypto support on !AArch64
|
||||
# - fix screwed up capability detection
|
||||
|
||||
pkgname=libgcrypt
|
||||
pkgver=1.9.0
|
||||
|
@ -41,19 +40,13 @@ prepare() {
|
|||
build() {
|
||||
cd "${pkgname}"-${pkgver}
|
||||
|
||||
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-neon-support --disable-arm-crypto-support"
|
||||
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-neon-support --disable-arm-crypto-support --disable-asm"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--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