mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/redis: fix
This commit is contained in:
parent
566e75c63c
commit
058fdd883c
1 changed files with 3 additions and 1 deletions
|
@ -34,7 +34,9 @@ prepare() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
patch -p1 -i ../redis.conf-sane-defaults.patch
|
patch -p1 -i ../redis.conf-sane-defaults.patch
|
||||||
patch -p1 -i ../redis-2.8.11-use-system-jemalloc.patch
|
patch -p1 -i ../redis-2.8.11-use-system-jemalloc.patch
|
||||||
[[ $CARCH == arm || $CARCH == armv6h ]] && sed -ri 's/^(FINAL_LIBS=.*)/\1 -latomic/' src/Makefile
|
if [[ $CARCH == arm || $CARCH == armv6h ]]; then
|
||||||
|
sed -ri 's/^(FINAL_LIBS=.*)/\1 -latomic/' src/Makefile
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
Loading…
Reference in a new issue