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 938ef597b..569da6710 100644
--- a/extra/xchm/PKGBUILD
+++ b/extra/xchm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xchm
pkgver=1.20
pkgrel=2
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
}