Permalink
Browse files

community/toolame: armv6h bits

  • Loading branch information...
1 parent 1b16f07 commit 726f248bb361ffb54e594cce5943286efe9a34ab @kmihelich kmihelich committed Jul 29, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 community/toolame/PKGBUILD
@@ -6,8 +6,6 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - Makefile replacements for ARM
-plugrel=1
-
pkgname=toolame
pkgver=02l
pkgrel=9
@@ -26,6 +24,7 @@ build() {
patch -p0 < ../toolame-02l.patch
[ "$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" = "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
make
install -D -m755 toolame $pkgdir/usr/bin/toolame

0 comments on commit 726f248

Please sign in to comment.