diff --git a/community/synce-libmimedir/PKGBUILD b/community/synce-libmimedir/PKGBUILD index 76ea89416..66c1f5a16 100644 --- a/community/synce-libmimedir/PKGBUILD +++ b/community/synce-libmimedir/PKGBUILD @@ -4,11 +4,11 @@ # ALARM: Kevin Mihelich # - staticlibs option -# - build with -fPIC for armv7h +# - build with -fPIC for armv7h and aarch64 pkgname=synce-libmimedir pkgver=0.4 -pkgrel=7 +pkgrel=7.1 pkgdesc="provide a means of communication with a Windows CE device - library that parses MIME Directory Profile." arch=('i686' 'x86_64') url="http://synce.sourceforge.net/" @@ -19,7 +19,7 @@ md5sums=('156e1eb69377d9ae9180a09e38148ec6') build() { cd $srcdir/libmimedir-$pkgver - if [ "$CARCH" = "x86_64" -o "$CARCH" = "armv7h" ]; then + if [ "$CARCH" = "x86_64" -o "$CARCH" = "armv7h" -o "$CARCH" = "aarch64" ]; then sed -i -e 's|Wall|Wall -fPIC -DPIC|g' Makefile.in ./configure --prefix=/usr --disable-shared --with-pic else ./configure --prefix=/usr --disable-shared