summaryrefslogtreecommitdiff
path: root/community/libircclient/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libircclient/PKGBUILD')
-rw-r--r--community/libircclient/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/community/libircclient/PKGBUILD b/community/libircclient/PKGBUILD
index cba8f34e7..8f1d1a2ad 100644
--- a/community/libircclient/PKGBUILD
+++ b/community/libircclient/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=libircclient
pkgver=1.7
pkgrel=1
pkgdesc='Small but powerful library, which implements client-server IRC protocol'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.ulduzsoft.com/libircclient/'
depends=('glibc')
makedepends=('python2-sphinx' 'python2-rst2pdf')
@@ -19,8 +19,8 @@ md5sums=('968370276f7cf21302f504f9bce1fc99')
build() {
cd $pkgname-$pkgver
- # add fPIC flag for x86_64
- [[ "$CARCH" = "x86_64" ]] && export CFLAGS="$CFLAGS -fPIC"
+ # add fPIC flag for x86_64 and mips64el
+ [ "$CARCH" != "i686" ] && export CFLAGS="$CFLAGS -fPIC"
sed -e "/install/s/lib/all/" \
-e "/DESTDIR/s/\.a/\.so/g" \