summaryrefslogtreecommitdiff
path: root/community/xchm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xchm/PKGBUILD')
-rw-r--r--community/xchm/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/community/xchm/PKGBUILD b/community/xchm/PKGBUILD
index 78949a3f8..2e443ca4e 100644
--- a/community/xchm/PKGBUILD
+++ b/community/xchm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xchm
pkgver=1.23
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' 'wxgtk2.8' 'desktop-file-utils')
@@ -22,7 +22,9 @@ build() {
export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
#export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
- ./configure --prefix=/usr --with-wx-config=wx-config-2.8
+ ./configure --prefix=/usr --with-wx-config=wx-config-2.8 \
+ --build=$CHOST \
+ --host=$CHOST
make
}