From 9abed28af84561b5644616bb190b6c1bddcc26f2 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Thu, 4 Nov 2021 14:09:35 +0000 Subject: [PATCH] community/rubberband: fix --- community/rubberband/PKGBUILD | 4 ++++ 1 file changed, 4 insertions(+) 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() {