mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/rubberband: fix
This commit is contained in:
parent
19d628d775
commit
9abed28af8
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - patch to fix build on v5
|
||||
# - explicitly link v5/v6 with libatomic
|
||||
|
||||
pkgname=rubberband
|
||||
pkgver=2.0.0
|
||||
|
@ -33,6 +34,9 @@ prepare() {
|
|||
if [[ $CARCH == 'arm' ]]; then
|
||||
patch -p1 -i ../0001-fix-armv5-build.patch
|
||||
fi
|
||||
if [[ $CARCH == 'arm' || $CARCH == "armv6h" ]]; then
|
||||
LDFLAGS+=" -latomic"
|
||||
fi
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
Loading…
Reference in a new issue