summaryrefslogtreecommitdiff
path: root/extra/glib/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/glib/PKGBUILD')
-rw-r--r--extra/glib/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/glib/PKGBUILD b/extra/glib/PKGBUILD
index d4f9b62fb..a364a8c81 100644
--- a/extra/glib/PKGBUILD
+++ b/extra/glib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=glib
pkgver=1.2.10
pkgrel=11
pkgdesc="Common C routines used by Gtk+ and other libs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
license=('LGPL')
depends=('glibc' 'sh')
@@ -31,6 +31,8 @@ build() {
CONFIGFLAG='--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu'
elif [[ $CARCH = "x86_64" ]]; then
CONFIGFLAG='--host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu'
+ else
+ CONFIGFLAG="--host=$CHOST --target=$CHOST"
fi
autoreconf --force --install