mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/toolame: v8 fix
This commit is contained in:
parent
b8364ae0a9
commit
292dee71b8
1 changed files with 5 additions and 0 deletions
|
@ -26,6 +26,11 @@ build() {
|
|||
[ "$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" = "aarch64" ] && sed -i "s|-march=i686|-march=armv8-a -std=gnu89|g" Makefile
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
install -D -m755 toolame $pkgdir/usr/bin/toolame
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue