community/redis: fix

This commit is contained in:
Kevin Mihelich 2018-01-25 02:43:54 +00:00
parent 566e75c63c
commit 058fdd883c

View file

@ -34,7 +34,9 @@ prepare() {
cd $pkgname-$pkgver
patch -p1 -i ../redis.conf-sane-defaults.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() {