From ed9ba46592a4497d46a3f73a3629ddf25b9cdae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 7 Dec 2017 19:52:37 +0100 Subject: [PATCH] redis: fix armv[56]* --- srcpkgs/redis/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/redis/template b/srcpkgs/redis/template index 1f255866f68..d2c81704ba6 100644 --- a/srcpkgs/redis/template +++ b/srcpkgs/redis/template @@ -20,13 +20,14 @@ do_configure() { -e "s|^# bind 127.0.0.1|bind 127.0.0.1|" \ -e "s|^dir .*|dir ${redis_homedir}|" \ -e "s|^pidfile .*|pidfile /run/redis/redis.pid|" redis.conf + sed -i -e "s|^FINAL_LIBS=.*|& -latomic|" src/Makefile } do_build() { case "$XBPS_TARGET_MACHINE" in *-musl) _malloc="none";; *) _malloc="jemalloc";; esac - make CC=$CC CFLAGS="$CFLAGS" MALLOC=${_malloc} ${makejobs} + make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" V=1 MALLOC=${_malloc} ${makejobs} } do_check() { make test