mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/toolame: armv6h bits
This commit is contained in:
parent
1b16f07f17
commit
726f248bb3
1 changed files with 1 additions and 2 deletions
|
@ -6,8 +6,6 @@
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - Makefile replacements for ARM
|
# - Makefile replacements for ARM
|
||||||
|
|
||||||
plugrel=1
|
|
||||||
|
|
||||||
pkgname=toolame
|
pkgname=toolame
|
||||||
pkgver=02l
|
pkgver=02l
|
||||||
pkgrel=9
|
pkgrel=9
|
||||||
|
@ -26,6 +24,7 @@ build() {
|
||||||
patch -p0 < ../toolame-02l.patch
|
patch -p0 < ../toolame-02l.patch
|
||||||
[ "$CARCH" = "x86_64" ] && sed -i "s|-march=i686|-march=x86-64|g" Makefile
|
[ "$CARCH" = "x86_64" ] && sed -i "s|-march=i686|-march=x86-64|g" Makefile
|
||||||
[ "$CARCH" = "arm" ] && sed -i "s|-march=i686|-march=armv5te|g" Makefile
|
[ "$CARCH" = "arm" ] && sed -i "s|-march=i686|-march=armv5te|g" Makefile
|
||||||
|
[ "$CARCH" = "armv6h" ] && sed -i "s|-march=i686|-march=armv6 -mfloat-abi=hard -mfpu=vfp|g" Makefile
|
||||||
[ "$CARCH" = "armv7h" ] && sed -i "s|-march=i686|-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16|g" Makefile
|
[ "$CARCH" = "armv7h" ] && sed -i "s|-march=i686|-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16|g" Makefile
|
||||||
make
|
make
|
||||||
install -D -m755 toolame $pkgdir/usr/bin/toolame
|
install -D -m755 toolame $pkgdir/usr/bin/toolame
|
||||||
|
|
Loading…
Reference in a new issue