summaryrefslogtreecommitdiff
path: root/extra/xchm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xchm/PKGBUILD')
-rw-r--r--extra/xchm/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/xchm/PKGBUILD b/extra/xchm/PKGBUILD
index c74241a47..613d13d0f 100644
--- a/extra/xchm/PKGBUILD
+++ b/extra/xchm/PKGBUILD
@@ -20,7 +20,9 @@ md5sums=('85943645d20af536704a20b58ebd5849'
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
- ./configure --prefix=/usr
+ ./configure --prefix=/usr \
+ --build=$CHOST \
+ --host=$CHOST
make
}