summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Aranguren2021-05-28 18:21:23 +1000
committerLuis Aranguren2021-05-28 18:21:23 +1000
commitf8fd8fdae74297ad79839a6c43bd716430571c29 (patch)
tree3c2379cc3c2e0c164c13d891e2b86357d5bda2b8
parent476494c44706aa4b88b7bc01477dce6eddfcd863 (diff)
downloadaur-f8fd8fdae74297ad79839a6c43bd716430571c29.tar.gz
6.2.0-3 added CFLAGS=-fPIC CPPFLAGS=-DPIC
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index caeb62972d87..4bb28810c033 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = libgmp-static
pkgdesc = A free library for arbitrary precision arithmetic, but only includes libgmp.a and libgmpxx.a
pkgver = 6.2.0
- pkgrel = 2
+ pkgrel = 3
url = https://gmplib.org
arch = x86_64
license = LGPL3
diff --git a/PKGBUILD b/PKGBUILD
index 59bc5deaea89..63ad3ff4347e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=libgmp-static
pkgver=6.2.0
-pkgrel=2
+pkgrel=3
pkgdesc='A free library for arbitrary precision arithmetic, but only includes libgmp.a and libgmpxx.a'
arch=('x86_64')
depends=("gmp>=$pkgver")
@@ -15,7 +15,7 @@ sha512sums=('9975e8766e62a1d48c0b6d7bbdd2fccb5b22243819102ca6c8d91f0edd2d3a1cef2
package() {
cd gmp-$pkgver
- ./configure --prefix=$pkgdir/usr --enable-static --disable-shared --enable-cxx
+ ./configure --prefix=$pkgdir/usr --enable-static --disable-shared --enable-cxx CFLAGS=-fPIC CPPFLAGS=-DPIC
make
make check
make install