community/jbigkit: v8 update

This commit is contained in:
Kevin Mihelich 2015-07-12 03:42:12 +00:00
parent 08d2bbdf2f
commit 93aecc62af

View file

@ -4,7 +4,7 @@
# Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com)
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - don't unset CFLAGS, use -fPIC with armv7h
# - don't unset CFLAGS, use -fPIC with armv7h and aarch64
pkgname=jbigkit
pkgver=2.1
@ -23,6 +23,7 @@ build() {
unset CPPFLAGS LDFLAGS
[ "$CARCH" == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC"
[ "$CARCH" == "armv7h" ] && export CFLAGS="$CFLAGS -fPIC"
[ "$CARCH" == "aarch64" ] && export CFLAGS="$CFLAGS -fPIC"
make CFLAGS="$CFLAGS"
}