summaryrefslogtreecommitdiff
path: root/core/gmp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/gmp/PKGBUILD')
-rw-r--r--core/gmp/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/gmp/PKGBUILD b/core/gmp/PKGBUILD
index 60ed858b2..e8a2c1367 100644
--- a/core/gmp/PKGBUILD
+++ b/core/gmp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gmp
pkgver=5.0.2
pkgrel=3
pkgdesc="A free library for arbitrary precision arithmetic"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gmplib.org/"
depends=('gcc-libs' 'sh')
license=('LGPL3')
@@ -22,6 +22,7 @@ build() {
patch -Np1 -i $srcdir/538dfce27f41.patch
[ "${CARCH}" = "i686" ] && export ABI="32"
+ [ "${CARCH}" = "mips64el" ] && export ABI="n32"
./configure --build=${CHOST} \
--prefix=/usr --infodir=/usr/share/info \
--enable-cxx