PKGNAME=libgcrypt
PKGDES="General purpose cryptographic library based on the code from GnuPG"
PKGDEP="libgpg-error"
PKGSEC=libs
ABTYPE=autotools
AUTOTOOLS_AFTER=(
    '--disable-padlock-support'
    '--without-capabilities'
    '--enable-static'
)

# FIXME: lto1: fatal error: target specific builtin not available 
NOLTO__RISCV64=1

# Needed by Afterglow, whereas FAIL_ARCH defaults to mainline-only.
FAIL_ARCH="!(mainline|retro)"
