mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
community/tachyon: v8 fix
This commit is contained in:
parent
e01afe2614
commit
009ad4ab75
1 changed files with 5 additions and 3 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue