summaryrefslogtreecommitdiff
path: root/core/gmp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/gmp/PKGBUILD')
-rw-r--r--core/gmp/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/gmp/PKGBUILD b/core/gmp/PKGBUILD
index fcd557f4d..410d1e736 100644
--- a/core/gmp/PKGBUILD
+++ b/core/gmp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gmp
pkgver=5.1.1
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')
@@ -18,6 +18,8 @@ md5sums=('485b1296e6287fa381e6015b19767989'
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+
+ [ "${CARCH}" = "mips64el" ] && export ABI="n32"
./configure --build=${CHOST} \
--prefix=/usr --enable-cxx