diff --git a/community/rubberband/PKGBUILD b/community/rubberband/PKGBUILD index f82175931..24addbb86 100644 --- a/community/rubberband/PKGBUILD +++ b/community/rubberband/PKGBUILD @@ -4,6 +4,7 @@ # ALARM: Kevin Mihelich # - 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() {