mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-10 17:13:51 +02:00
redis: fix armv[56]*
This commit is contained in:
parent
676223b697
commit
ed9ba46592
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue