summaryrefslogtreecommitdiff
path: root/community/libdnet/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libdnet/PKGBUILD')
-rw-r--r--community/libdnet/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/community/libdnet/PKGBUILD b/community/libdnet/PKGBUILD
index cb3d793a0..819d9fb90 100644
--- a/community/libdnet/PKGBUILD
+++ b/community/libdnet/PKGBUILD
@@ -20,9 +20,10 @@ build() {
mkdir -p $pkgdir/usr/bin
[ $CARCH == "x86_64" ] && export CFLAGS=-fPIC
+ [ $CARCH == "mips64el" ] && export CFLAGS+=-fPIC
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --target=${CHOST} --host=${CHOST} --build=${CHOST}
make && make DESTDIR=$pkgdir install
cd python && \