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 d0490e5be..ae2801d91 100644
--- a/core/gmp/PKGBUILD
+++ b/core/gmp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gmp
pkgver=5.0.5
pkgrel=1
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')
@@ -20,6 +20,7 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
[ "${CARCH}" = "i686" ] && export ABI="32"
+ [ "${CARCH}" = "mips64el" ] && export ABI="n32"
./configure --build=${CHOST} \
--prefix=/usr --infodir=/usr/share/info \
--enable-cxx