mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +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>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - patch to fix build on v5
|
# - patch to fix build on v5
|
||||||
|
# - explicitly link v5/v6 with libatomic
|
||||||
|
|
||||||
pkgname=rubberband
|
pkgname=rubberband
|
||||||
pkgver=2.0.0
|
pkgver=2.0.0
|
||||||
|
@ -33,6 +34,9 @@ prepare() {
|
||||||
if [[ $CARCH == 'arm' ]]; then
|
if [[ $CARCH == 'arm' ]]; then
|
||||||
patch -p1 -i ../0001-fix-armv5-build.patch
|
patch -p1 -i ../0001-fix-armv5-build.patch
|
||||||
fi
|
fi
|
||||||
|
if [[ $CARCH == 'arm' || $CARCH == "armv6h" ]]; then
|
||||||
|
LDFLAGS+=" -latomic"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
Loading…
Reference in a new issue