community/rubberband: fix

This commit is contained in:
Kevin Mihelich 2021-11-04 14:09:35 +00:00
parent 19d628d775
commit 9abed28af8

View file

@ -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() {