community/tachyon: v8 fix

This commit is contained in:
Kevin Mihelich 2015-10-28 01:16:51 +00:00
parent e01afe2614
commit 009ad4ab75

View file

@ -2,8 +2,8 @@
# Contributor: Rémy Oudompheng <remy@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - set ARM architectures to use linux-thr profile
# - sed to remove -m32 from CFLAGS
# - set ARM architectures to use linux-thr profile, AArch64 to linux-64-thr
# - sed to remove -m32 and -m64 from CFLAGS
pkgname=tachyon
pkgver=0.98.9
@ -20,6 +20,7 @@ md5sums=('eb39e10bb37bccc949b45b8fc28dabd7'
case "$CARCH" in
arm*) _target=linux-thr ;;
"aarch64") _target=linux-64-thr ;;
"i686") _target=linux-thr ;;
"x86_64") _target=linux-64-thr ;;
esac
@ -29,8 +30,9 @@ prepare(){
# enable JPEG and PNG support
patch -p0 -i "$srcdir"/enable-jpeg-png.patch
# remove -m32 for ARM
# remove -m32 and -m64 for ARM
sed -i 's/-m32//g' unix/Make-arch
sed -i 's/-m64//g' unix/Make-arch
}
build() {