redis: fix armv[56]*
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user