summaryrefslogtreecommitdiff
path: root/extra/xchm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xchm/PKGBUILD')
-rw-r--r--extra/xchm/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/extra/xchm/PKGBUILD b/extra/xchm/PKGBUILD
index 3210aac2c..5e80ecc1f 100644
--- a/extra/xchm/PKGBUILD
+++ b/extra/xchm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xchm
pkgver=1.22
pkgrel=1
pkgdesc="A cross-platform GUI front-end to chmlib"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xchm.sourceforge.net/"
license=('GPL')
depends=('chmlib' 'wxgtk' 'desktop-file-utils')
@@ -21,7 +21,9 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
- ./configure --prefix=/usr
+ ./configure --prefix=/usr \
+ --build=$CHOST \
+ --host=$CHOST
make
}