X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/cfe9967ac4eef61215f6747710690f46bedf1bab..eb191c6a1a4a9b7b314d0b46de59283973404b14:/packages/libgcrypt/build.sh diff --git a/packages/libgcrypt/build.sh b/packages/libgcrypt/build.sh index dd41f4d0..900e73a3 100755 --- a/packages/libgcrypt/build.sh +++ b/packages/libgcrypt/build.sh @@ -1,8 +1,8 @@ TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/libgcrypt/ TERMUX_PKG_DESCRIPTION="General purpose cryptographic library based on the code from GnuPG" -TERMUX_PKG_VERSION=1.7.6 +TERMUX_PKG_VERSION=1.7.7 TERMUX_PKG_SRCURL=https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${TERMUX_PKG_VERSION}.tar.bz2 -TERMUX_PKG_SHA256=626aafee84af9d2ce253d2c143dc1c0902dda045780cc241f39970fc60be05bc +TERMUX_PKG_SHA256=b9b85eba0793ea3e6e66b896eb031fa05e1a4517277cc9ab10816b359254cd9a TERMUX_PKG_DEPENDS="libgpg-error" # configure tries to detect pthreads by linking with -lpthread, which does not exist on Android: TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_lib_pthread_pthread_create=yes" @@ -11,6 +11,7 @@ termux_step_pre_configure () { # libgcrypt uses syslog, which we redirect to android logging: LDFLAGS="$LDFLAGS -llog" + CFLAGS+=" -no-integrated-as" if [ $TERMUX_ARCH = "arm" ]; then # See http://marc.info/?l=gnupg-devel&m=139136972631909&w=3 CFLAGS+=" -mno-unaligned-access"