libgcrypt: Revert from 1.7.4 to 1.7.3
[termux-packages] / packages / libgmp / build.sh
index 1917d88..8de5225 100755 (executable)
@@ -1,7 +1,9 @@
-TERMUX_PKG_VERSION=6.1.0
+TERMUX_PKG_VERSION=6.1.1
 TERMUX_PKG_HOMEPAGE=https://gmplib.org/
 TERMUX_PKG_DESCRIPTION="Library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating-point numbers"
 TERMUX_PKG_SRCURL=https://gmplib.org/download/gmp/gmp-${TERMUX_PKG_VERSION}.tar.lz
 
-# https://gmplib.org/list-archives/gmp-bugs/2012-April/002620.html
-export CFLAGS="$CFLAGS $LDFLAGS"
+termux_step_pre_configure() {
+       # https://gmplib.org/list-archives/gmp-bugs/2012-April/002620.html
+       CFLAGS+=" $LDFLAGS"
+}